-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.yaml
More file actions
174 lines (174 loc) · 4.3 KB
/
sample.yaml
File metadata and controls
174 lines (174 loc) · 4.3 KB
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
config:
bgcolor: 0xeeeeee
color2sub: 0
method: 1
nosplit: 0
selcolor: 0xffffff
timeout: 1
hotkey:
alt & z:
menu_class:
-
filter: notepad;vim;
name: Editor
-
-
bgcolor: ''
bold: ''
icon: E:\Program Files\goagent\local\goagent.exe:0
name: GoAgent
string: E:\Program Files\goagent\local\goagent.exe
tcolor: ''
filter: Chrome_WidgetWin_1;
name: Chrome
-
-
bgcolor: 0xeeeeee
bold: ''
icon: %A_WINDIR%\system32\imageres.dll:146
name: 网络管理界面(&N)
string: ncpa.cpl
tcolor: ''
-
bgcolor: 0xeeeeee
bold: ''
icon: %A_WINDIR%\System32\cmd.exe:0
name: 网络测试
string: "ping {box:list[>\u8BF7\u9009\u62E9\u5730\u5740][www.baidu.com][www.qq.com]} -t"
tcolor: ''
filter: Shell_TrayWnd;
name: 任务栏
menu_default:
-
name: AnyFile
-
-
bgcolor: 0xeeeeee
bold: ''
icon: ''
name: 百度搜索(&B)
string: "http://www.baidu.com/s?wd={select:[cp0]}"
tcolor: ''
-
bgcolor: 0xeeeeee
bold: ''
icon: %ICONS%\bing.ico:0
name: 必应搜索(&I)
string: "http://cn.bing.com/search?q={select:[cp0]}"
tcolor: ''
-
bgcolor: 0x309BA0
bold: ''
icon: %ICONS%\menuz.icl:12
name: 二维码(&R)
string: ">{do:MZ_QRCode}"
tcolor: 0xFFFFFF
name: AnyText
-
-
bgcolor: ''
bold: ''
icon: %A_WINDIR%\System32\shell32.dll:3
name: 打开程序所在的路径
string: "%A_windir%\\explorer.exe /n,/e,/select,{window:dir}"
tcolor: ''
name: AnyClass
-
-
bgcolor: ''
bold: ''
icon: %A_WINDIR%\System32\cmd.exe:0
name: 打开命令行
string: cmd.exe
tcolor: ''
name: Any
menu_file:
-
-
bgcolor: 0xeeeeee
bold: 0
icon: E:\Program Files (x86)\WPS Office\9.1.0.4855\office6\wps.exe:0
name: wps open
string: "wps.exe \"{file:path}\""
tcolor: ''
filter: .doc;.docx;
name: "office file "
-
-
bgcolor: 0x91C7EE
bold: ''
icon: E:\Program Files (x86)\Vim\vim74\gvim.exe:0
name: GVIM编辑(&G)
string: "E:\\Program Files (x86)\\Vim\\vim74\\gvim.exe \"{file:path}\""
sub:
tcolor: ''
-
bgcolor: 0xeeeeee
bold: ''
icon: E:\PortableApps\Notepad++Portable\App\Notepad++\notepad++.exe:0
name: NPP打开(&P)
string: "E:\\PortableApps\\Notepad++Portable\\App\\Notepad++\\notepad++.exe \"{file:path}\""
tcolor: ''
filter: .txt;.ini;.yaml;.ahk;.pppt;
name: text file
menu_text:
mz_color:
1: 15648657
2: 8930024
3: 0
4: 0
5: 0
6: 0
7: 0
8: 0
9: 0
10: 0
11: 0
12: 0
13: 0
14: 0
15: 0
16: 0
text_regex:
-
comment: 系统唯一ID码
name: clsid
regex: "^\\{[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}\\}$"
-
comment: 匹配URL地址
name: url
regex: "i)^(((ht|f)tp(s?))\\://)?([a-zA-Z0-9\\.\\-]+(\\:[a-zA-Z0-9\\.&%\\$\\-]+)*)*((25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9])\\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[0-9])|localhost|([a-zA-Z0-9\\-]+\\.)*[a-zA-Z0-9\\-]+\\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(\\:[0-9]+)*(/($|[a-zA-Z0-9\\.\\,\\?\\:\\'\\\\\\+&%\\$#\\=~_\\-]+))*$"
-
comment: 注册表项
name: reg
regex: i)^(HKCU|HKCR|HKCC|HKU|HKLM|Hkey_
-
comment: 文件路径
name: filepath
regex: ^.:\\.*
-
comment: 邮箱地址
name: email
regex: "^[\\w-_.]+@(?:\\w+(?::\\d+)?\\.){1,3}(?:\\w+\\.?){1,2}$"
-
comment: 颜色的十六进制编码
name: colorcode
regex: "^(0x|#)?([a-fA-F0-9]){6}$"
-
comment: 磁力链接
name: MagentLink
regex: "^([a-zA-Z0-9]){20,50}$"
-
comment: 数学表达式
name: Math2
regex: "^(\\(*\\d+([.,]\\d+)*\\)*\\s*(\\+|-|/|\\*)\\s*)+\\d+([.,]\\d+)*\\)*$"
user_env:
cmd: C:\windows\system32\cmd.exe
IE: C:\Program Files (x86)\Internet Explorer\iexplore.exe
notepad: C:\windows\notepad.exe
win_comment:
CabinetWClass: 资源管理器
Chrome_WidgetWin_1: Google Chrome
Notepad: 记事本
Shell_TrayWnd: Windows任务栏
vim: gvim编辑器