-
Notifications
You must be signed in to change notification settings - Fork 2
/
ReaHotkey.ahk
42 lines (38 loc) · 1.15 KB
/
ReaHotkey.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#Requires AutoHotkey v2.0
#MaxThreadsPerHotkey 1
#SingleInstance Force
#Warn All
CoordMode "Caret", "Window"
CoordMode "Menu", "Window"
CoordMode "Mouse", "Window"
CoordMode "Pixel", "Window"
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)
A_TrayMenu.Add("&Pause", ReaHotkey.TogglePause)
A_TrayMenu.Add("&Reload", ReaHotkey.Reload)
A_TrayMenu.Add("&View Readme", ReaHotkey.ViewReadme)
A_TrayMenu.Add("Check for &updates...", ReaHotkey.CheckForUpdates)
A_TrayMenu.Add("&About...", ReaHotkey.ShowAboutBox)
A_TrayMenu.Add("&Quit", ReaHotkey.Quit)
A_TrayMenu.Default := "&Configuration..."
#Include Includes/Hotkey.Contexts.ahk
#Include Includes/Hotkey.Functions.ahk
#Include Includes/Overlay.Definitions.ahk
#Include Includes/Overlay.Functions.ahk
#Include *i Includes/CIVersion.ahk