-
Notifications
You must be signed in to change notification settings - Fork 2
/
ReaHotkey.ahk
43 lines (38 loc) · 1.17 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
43
#Requires AutoHotkey v2.0
#MaxThreadsPerHotkey 1
#SingleInstance Force
#Warn All
CoordMode "Mouse", "Window"
CoordMode "Pixel", "Window"
InstallKeybdHook
SendMode "Input"
SetTitleMatchMode "RegEx"
SetWorkingDir A_InitialWorkingDir
#Include <AccessibilityOverlay>
#Include <AccessibleMenu>
#Include <AccessiblePluginMenu>
#Include <AccessibleStandaloneMenu>
#Include <JXON>
#Include <OCR>
#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("View &Readme", ReaHotkey.ViewReadme)
A_TrayMenu.Add("&About...", ReaHotkey.ShowAboutBox)
A_TrayMenu.Add("&Quit", ReaHotkey.Quit)
A_TrayMenu.Default := "&Configuration..."
AccessibilityOverlay.Speak("ReaHotkey ready")
SetTimer ReaHotkey.ManageState, 100
#Include Includes/Plugin.Context.ahk
#IncludeAgain Includes/Global.Context.ahk
#Include Includes/Standalone.Context.ahk
#IncludeAgain Includes/Global.Context.ahk
#Include Includes/Overlay.Definitions.ahk
#Include Includes/Overlay.Functions.ahk
#Include Includes/Version.ahk
#Include *i Includes/CIVersion.ahk