aboutsummaryrefslogtreecommitdiff
path: root/tt.traymenu.ahk
blob: 293c64b379f545077ce40bdffb4a8e468f28c816 (plain)
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
;; Tray menu ------------------------------------------------------------------

;; -> init

Menu, Tray, NoStandard
Menu, Tray, Tip, %A_ScriptName%
Menu, Tray, Add, &Open directory..., TrayOpen
Menu, Tray, Add, Re&build, TrayRebuild
Menu, Tray, Add, &Reload, TrayReload
Menu, Tray, Add, E&xit, TrayExit

;; -> library

TrayOpen:
Run, % "explorer " A_ScriptDir "\.."
return

TrayExit:
ExitApp
return

TrayReload:
Reload
return

TrayRebuild:
RunWait, % A_ScriptDir "\..\build"
Reload
return