-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathaztack-3aa6ad.ahk
126 lines (116 loc) · 5.78 KB
/
aztack-3aa6ad.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
;Auto-Genreated at 2015-07-29 18:25:29 +0800
#Include paths-3aa6ad.ahk
#Include functions.ahk
#Include autorun.ahk
;-----
;Menus
;-----
menus := {}
;QuickMenu
menus["QuickMenu"] := ["f:\dl","e:\ebook","-----","D:\Program Files\bcompare\BCompare.exe","C:\Program Files (x86)\Youdao\YoudaoNote\RunYNote.exe","C:\Program Files\Youdao\Dict\YodaoDict.exe","C:\Program Files (x86)\Just Great Software\RegexBuddy3\RegexBuddy.exe","C:\Program Files (x86)\PicPick\picpick.exe","C:\Program Files\China Mobile\Fetion\Fetion.exe","C:\Program Files (x86)\FileZilla FTP Client\filezilla.exe","D:\Program Files\Firefox26\App\Firefox\firefox.exe","C:\Program Files\The KMPlayer\KMPlayer.exe","D:\Program Files\AdobePhotoshopCC\Adobe Photoshop CC\Photoshop.exe","D:\Program Files\FastStone Image Viewer Portable v5.3\FSViewer.exe","D:\prog\sqlite expert professiona.exe","D:\prog\LINQPad4.31\LINQPad.exe","D:\Program Files\MobipocketReader_6.2.exe","D:\Program Files\Source Insight 3\Insight3.exe","D:\Program Files\ToDoList\ToDoList.exe","D:\Program Files\SwitchHosts\SwitchHosts.exe"]
Menu, QuickMenu, Add, download, TheMenuHandler
Menu, QuickMenu, Icon,download, Shell32.dll, 4
Menu, QuickMenu, Add, ebook, TheMenuHandler
Menu, QuickMenu, Icon,ebook, Shell32.dll, 4
Menu, QuickMenu, Add,,,
Menu, QuickMenu, Add, BCompare, TheMenuHandler
Menu, QuickMenu, Icon,BCompare, D:\Program Files\bcompare\BCompare.exe
Menu, QuickMenu, Add, 有道云笔记, TheMenuHandler
Menu, QuickMenu, Icon,有道云笔记, C:\Program Files (x86)\Youdao\YoudaoNote\RunYNote.exe
Menu, QuickMenu, Add, 有道词典, TheMenuHandler
Menu, QuickMenu, Icon,有道词典, C:\Program Files\Youdao\Dict\YodaoDict.exe
Menu, QuickMenu, Add, RegexBuddy, TheMenuHandler
Menu, QuickMenu, Icon,RegexBuddy, C:\Program Files (x86)\Just Great Software\RegexBuddy3\RegexBuddy.exe
Menu, QuickMenu, Add, PicPick, TheMenuHandler
Menu, QuickMenu, Icon,PicPick, C:\Program Files (x86)\PicPick\picpick.exe
Menu, QuickMenu, Add, Fetion, TheMenuHandler
Menu, QuickMenu, Icon,Fetion, C:\Program Files\China Mobile\Fetion\Fetion.exe
Menu, QuickMenu, Add, Filezilla, TheMenuHandler
Menu, QuickMenu, Icon,Filezilla, C:\Program Files (x86)\FileZilla FTP Client\filezilla.exe
Menu, QuickMenu, Add, Firefox, TheMenuHandler
Menu, QuickMenu, Icon,Firefox, D:\Program Files\Firefox26\App\Firefox\firefox.exe
Menu, QuickMenu, Add, KMPlayer, TheMenuHandler
Menu, QuickMenu, Icon,KMPlayer, C:\Program Files\The KMPlayer\KMPlayer.exe
Menu, QuickMenu, Add, Photoshop, TheMenuHandler
Menu, QuickMenu, Icon,Photoshop, D:\Program Files\AdobePhotoshopCC\Adobe Photoshop CC\Photoshop.exe
Menu, QuickMenu, Add, FSViewer, TheMenuHandler
Menu, QuickMenu, Icon,FSViewer, D:\Program Files\FastStone Image Viewer Portable v5.3\FSViewer.exe
Menu, QuickMenu, Add, SQLite Expert, TheMenuHandler
Menu, QuickMenu, Icon,SQLite Expert, D:\prog\sqlite expert professiona.exe
Menu, QuickMenu, Add, LINQPad, TheMenuHandler
Menu, QuickMenu, Icon,LINQPad, D:\prog\LINQPad4.31\LINQPad.exe
Menu, QuickMenu, Add, MobiReader, TheMenuHandler
Menu, QuickMenu, Icon,MobiReader, D:\Program Files\MobipocketReader_6.2.exe
Menu, QuickMenu, Add, Source Insight, TheMenuHandler
Menu, QuickMenu, Icon,Source Insight, D:\Program Files\Source Insight 3\Insight3.exe
Menu, QuickMenu, Add, ToDoList, TheMenuHandler
Menu, QuickMenu, Icon,ToDoList, D:\Program Files\ToDoList\ToDoList.exe
Menu, QuickMenu, Add, SiwtchHosts, TheMenuHandler
Menu, QuickMenu, Icon,SiwtchHosts, D:\Program Files\SwitchHosts\SwitchHosts.exe
;SublimeProject
menus["SublimeProject"] := ["D:\prog\sublime-projects\web-cp.sublime-project","E:\doc\closesource\qh\union.sublime-project","E:\doc\GitHub\rails-dev-box\sites\blog.aztack.com.sublime-project","E:\doc\GitHub\aztec-alpha\aztec-alpha.sublime-project"]
Menu, SublimeProject, Add, Web-CP, TheMenuHandler
Menu, SublimeProject, Add, Union, TheMenuHandler
Menu, SublimeProject, Add, Blog, TheMenuHandler
Menu, SublimeProject, Add, Aztec-Alpha, TheMenuHandler
;Test
menus["Test"] := ["http://wwh.lianmeng.360.cn/index","http://wwh.lianmeng.360.cn:8000","http://lianmeng.360.cn/index","http://lianmeng.360.cn:8000","----","E:\doc\closesource\qh\unionad\web-cp","http://cp.lianmeng.360.cn","E:\doc\closesource\qh\signuphao360_fillform.au3"]
Menu, Test, Add, 开发:联盟web-front, TheMenuHandler
Menu, Test, Icon,开发:联盟web-front, Shell32.dll, 14
Menu, Test, Add, 开发:联盟web-admin, TheMenuHandler
Menu, Test, Icon,开发:联盟web-admin, Shell32.dll, 14
Menu, Test, Add, 测试:联盟web-front, TheMenuHandler
Menu, Test, Icon,测试:联盟web-front, Shell32.dll, 14
Menu, Test, Add, 测试:联盟web-admin, TheMenuHandler
Menu, Test, Icon,测试:联盟web-admin, Shell32.dll, 14
Menu, Test, Add,,,
Menu, Test, Add, CP, TheMenuHandler
Menu, Test, Icon,CP, Shell32.dll, 4
Menu, Test, Add, CP网站, TheMenuHandler
Menu, Test, Icon,CP网站, Shell32.dll, 14
Menu, Test, Add, 填写直客注册表格, TheMenuHandler
Menu, Test, Icon,填写直客注册表格, lib\au3.ico
;-----------
; timers
;-----------
SetTimer sublime_timer_ahk, On
;-----------
; other ahks
;-----------
#Include appdir.ahk
#Include system.ahk
#Include _console.ahk
#Include _chrome.ahk
#Include _firefox.ahk
#Include _everything.ahk
#Include _explorer.ahk
#Include _xshell.ahk
#Include _sublime.ahk
#Include hotstrings.ahk
;hotkeys for menus
!d:: Menu,QuickMenu,Show
!Numpad1:: Menu,SublimeProject,Show
!Numpad0:: Menu,Test,Show
;---------------------
;The Only Menu Handler
;---------------------
TheMenuHandler:
items := menus[A_ThisMenu]
p := items[A_ThisMenuItemPos]
if(p<> "")
Run, %p%
if(InStr(p,"http:") = 1) {
WinWait,ahk_class Chrome_WidgetWin_1
WinActive("ahk_class Chrome_WidgetWin_1")
Send, ^l{End}
}
return
;---------------
; Timer handlers
;---------------
sublime_timer_ahk:
IfWinExist, Sublime Text ahk_class #32770
WinClose
IfWinExist, This is an unregistered copy ahk_class #32770
WinClose
return