-
Notifications
You must be signed in to change notification settings - Fork 10
/
Main.ahk
26 lines (22 loc) · 894 Bytes
/
Main.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#WinActivateForce
#SingleInstance force
#Persistent
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#Include *i %A_ScriptDir%\Scripts\Functions.ahk
#Include %A_ScriptDir%\Util\Init.ahk
#Include %A_ScriptDir%\Util\ParseSettings.ahk
#Include %A_ScriptDir%\Util\TrayMenu.ahk
If (Settings.StartupNotification)
Notify(Settings.ScriptName " Started",,-3,"Style=StandardGray")
If (Settings.UseAutoCorrect)
Run, %A_ScriptDir%\Util\AutoCorrect.ahk
Else
{
DetectHiddenWindows, On
WinClose, %A_ScriptDir%\Util\AutoCorrect.ahk ahk_class AutoHotkey
}
#Include *i %A_ScriptDir%\Scripts\Hotkeys.ahk
#Include *i %A_ScriptDir%\Scripts\AppSpecific.ahk
#Include *i %A_ScriptDir%\Scripts\HotStrings.ahk