aboutsummaryrefslogtreecommitdiff
path: root/tt.traymenu.ahk
blob: bb3266461957f963ecb89ad29b026fb14063866d (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