Skip to content

Commit

Permalink
Change code order
Browse files Browse the repository at this point in the history
  • Loading branch information
MatejGolian committed Oct 28, 2024
1 parent 9b131eb commit fffcd2c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Lib/ReaHotkey.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ Class ReaHotkey {
Static StandaloneWinCriteria := False

Static __New() {
OnError ReaHotkey.HandleError
ReaHotkey.TurnPluginHotkeysOff()
ReaHotkey.TurnStandaloneHotkeysOff()
OnError ReaHotkey.HandleError
ScriptReloaded := False
For Arg In A_Args
If Arg = "Reload" {
Expand Down
26 changes: 13 additions & 13 deletions ReaHotkey.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,6 @@ InstallKeybdHook
SendMode "Input"
SetTitleMatchMode "RegEx"

#Include Includes/Version.ahk
#Include <AccessibilityOverlay>
#Include <AccessibleMenu>
#Include <AccessiblePluginMenu>
#Include <AccessibleStandaloneMenu>
#Include <JXON>
#Include <OCR>
#Include <Program>
#Include <Plugin>
#Include <ReaHotkey>
#Include <Standalone>
#Include <UIA>

A_IconTip := "ReaHotkey"
A_TrayMenu.Delete
A_TrayMenu.Add("&Configuration...", ReaHotkey.ShowConfigBox)
Expand All @@ -39,4 +26,17 @@ A_TrayMenu.Default := "&Configuration..."
#Include Includes/Hotkey.Functions.ahk
#Include Includes/Overlay.Definitions.ahk
#Include Includes/Overlay.Functions.ahk
#Include Includes/Version.ahk
#Include *i Includes/CIVersion.ahk

#Include <AccessibilityOverlay>
#Include <AccessibleMenu>
#Include <AccessiblePluginMenu>
#Include <AccessibleStandaloneMenu>
#Include <JXON>
#Include <OCR>
#Include <Program>
#Include <Plugin>
#Include <ReaHotkey>
#Include <Standalone>
#Include <UIA>

0 comments on commit fffcd2c

Please sign in to comment.