Skip to content

Commit 05fd536

Browse files
committed
Creating Autocompletes
Creating Send Key List autocomplete. Creating MsgBox Constant Name autocomplete. Creating Macro autocomplete.
1 parent df0ef64 commit 05fd536

File tree

3 files changed

+234
-0
lines changed

3 files changed

+234
-0
lines changed
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
{
2+
"scope": "source.autoit",
3+
"completions": [
4+
{ "trigger": "@AppDataCommonDir", "contents": "@AppDataCommonDir" },
5+
{ "trigger": "@AppDataDir", "contents": "@AppDataDir" },
6+
{ "trigger": "@AutoItExe", "contents": "@AutoItExe" },
7+
{ "trigger": "@AutoItPID", "contents": "@AutoItPID" },
8+
{ "trigger": "@AutoItVersion", "contents": "@AutoItVersion" },
9+
{ "trigger": "@AutoItX64", "contents": "@AutoItX64" },
10+
{ "trigger": "@COM_EventObj", "contents": "@COM_EventObj" },
11+
{ "trigger": "@CommonFilesDir", "contents": "@CommonFilesDir" },
12+
{ "trigger": "@Compiled", "contents": "@Compiled" },
13+
{ "trigger": "@ComputerName", "contents": "@ComputerName" },
14+
{ "trigger": "@ComSpec", "contents": "@ComSpec" },
15+
{ "trigger": "@CPUArch", "contents": "@CPUArch" },
16+
{ "trigger": "@CR", "contents": "@CR" },
17+
{ "trigger": "@CRLF", "contents": "@CRLF" },
18+
{ "trigger": "@DesktopCommonDir", "contents": "@DesktopCommonDir" },
19+
{ "trigger": "@DesktopDepth", "contents": "@DesktopDepth" },
20+
{ "trigger": "@DesktopDir", "contents": "@DesktopDir" },
21+
{ "trigger": "@DesktopHeight", "contents": "@DesktopHeight" },
22+
{ "trigger": "@DesktopRefresh", "contents": "@DesktopRefresh" },
23+
{ "trigger": "@DesktopWidth", "contents": "@DesktopWidth" },
24+
{ "trigger": "@DocumentsCommonDir", "contents": "@DocumentsCommonDir" },
25+
{ "trigger": "@error", "contents": "@error" },
26+
{ "trigger": "@exitCode", "contents": "@exitCode" },
27+
{ "trigger": "@exitMethod", "contents": "@exitMethod" },
28+
{ "trigger": "@extended", "contents": "@extended" },
29+
{ "trigger": "@FavoritesCommonDir", "contents": "@FavoritesCommonDir" },
30+
{ "trigger": "@FavoritesDir", "contents": "@FavoritesDir" },
31+
{ "trigger": "@GUI_CtrlHandle", "contents": "@GUI_CtrlHandle" },
32+
{ "trigger": "@GUI_CtrlId", "contents": "@GUI_CtrlId" },
33+
{ "trigger": "@GUI_DragFile", "contents": "@GUI_DragFile" },
34+
{ "trigger": "@GUI_DragId", "contents": "@GUI_DragId" },
35+
{ "trigger": "@GUI_DropId", "contents": "@GUI_DropId" },
36+
{ "trigger": "@GUI_WinHandle", "contents": "@GUI_WinHandle" },
37+
{ "trigger": "@HomeDrive", "contents": "@HomeDrive" },
38+
{ "trigger": "@HomePath", "contents": "@HomePath" },
39+
{ "trigger": "@HomeShare", "contents": "@HomeShare" },
40+
{ "trigger": "@HotKeyPressed", "contents": "@HotKeyPressed" },
41+
{ "trigger": "@HOUR", "contents": "@HOUR Hours" },
42+
{ "trigger": "@IPAddress1", "contents": "@IPAddress1" },
43+
{ "trigger": "@IPAddress2", "contents": "@IPAddress2" },
44+
{ "trigger": "@IPAddress3", "contents": "@IPAddress3" },
45+
{ "trigger": "@IPAddress4", "contents": "@IPAddress4" },
46+
{ "trigger": "@KBLayout", "contents": "@KBLayout" },
47+
{ "trigger": "@LF", "contents": "@LF" },
48+
{ "trigger": "@LocalAppDataDir", "contents": "@LocalAppDataDir" },
49+
{ "trigger": "@LogonDNSDomain", "contents": "@LogonDNSDomain" },
50+
{ "trigger": "@LogonDomain", "contents": "@LogonDomain" },
51+
{ "trigger": "@LogonServer", "contents": "@LogonServer" },
52+
{ "trigger": "@MDAY", "contents": "@MDAY" },
53+
{ "trigger": "@MIN", "contents": "@MIN" },
54+
{ "trigger": "@MON", "contents": "@MON" },
55+
{ "trigger": "@MSEC", "contents": "@MSEC" },
56+
{ "trigger": "@MUILang", "contents": "@MUILang" },
57+
{ "trigger": "@MyDocumentsDir", "contents": "@MyDocumentsDir" },
58+
{ "trigger": "@NumParams", "contents": "@NumParams" },
59+
{ "trigger": "@OSArch", "contents": "@OSArch" },
60+
{ "trigger": "@OSBuild", "contents": "@OSBuild" },
61+
{ "trigger": "@OSLang", "contents": "@OSLang" },
62+
{ "trigger": "@OSServicePack", "contents": "@OSServicePack" },
63+
{ "trigger": "@OSType", "contents": "@OSType" },
64+
{ "trigger": "@OSVersion", "contents": "@OSVersion" },
65+
{ "trigger": "@ProgramFilesDir", "contents": "@ProgramFilesDir" },
66+
{ "trigger": "@ProgramsCommonDir", "contents": "@ProgramsCommonDir" },
67+
{ "trigger": "@ProgramsDir", "contents": "@ProgramsDir" },
68+
{ "trigger": "@ScriptDir", "contents": "@ScriptDir" },
69+
{ "trigger": "@ScriptFullPath", "contents": "@ScriptFullPath" },
70+
{ "trigger": "@ScriptLineNumber", "contents": "@ScriptLineNumber" },
71+
{ "trigger": "@ScriptName", "contents": "@ScriptName" },
72+
{ "trigger": "@SEC", "contents": "@SEC" },
73+
{ "trigger": "@StartMenuCommonDir", "contents": "@StartMenuCommonDir" },
74+
{ "trigger": "@StartMenuDir", "contents": "@StartMenuDir" },
75+
{ "trigger": "@StartupCommonDir", "contents": "@StartupCommonDir" },
76+
{ "trigger": "@StartupDir", "contents": "@StartupDir" },
77+
{ "trigger": "@SW_DISABLE", "contents": "@SW_DISABLE" },
78+
{ "trigger": "@SW_ENABLE", "contents": "@SW_ENABLE" },
79+
{ "trigger": "@SW_HIDE", "contents": "@SW_HIDE" },
80+
{ "trigger": "@SW_LOCK", "contents": "@SW_LOCK" },
81+
{ "trigger": "@SW_MAXIMIZE", "contents": "@SW_MAXIMIZE" },
82+
{ "trigger": "@SW_MINIMIZE", "contents": "@SW_MINIMIZE" },
83+
{ "trigger": "@SW_RESTORE", "contents": "@SW_RESTORE" },
84+
{ "trigger": "@SW_SHOW", "contents": "@SW_SHOW" },
85+
{ "trigger": "@SW_SHOWDEFAULT", "contents": "@SW_SHOWDEFAULT" },
86+
{ "trigger": "@SW_SHOWMINIMIZED", "contents": "@SW_SHOWMINIMIZED" },
87+
{ "trigger": "@SW_SHOWMINNOACTIVE", "contents": "@SW_SHOWMINNOACTIVE" },
88+
{ "trigger": "@SW_SHOWNA", "contents": "@SW_SHOWNA" },
89+
{ "trigger": "@SW_SHOWNOACTIVATE", "contents": "@SW_SHOWNOACTIVATE" },
90+
{ "trigger": "@SW_SHOWNORMAL", "contents": "@SW_SHOWNORMAL" },
91+
{ "trigger": "@SW_UNLOCK", "contents": "@SW_UNLOCK" },
92+
{ "trigger": "@SystemDir", "contents": "@SystemDir" },
93+
{ "trigger": "@TAB", "contents": "@TAB" },
94+
{ "trigger": "@TempDir", "contents": "@TempDir" },
95+
{ "trigger": "@TRAY_ID", "contents": "@TRAY_ID" },
96+
{ "trigger": "@TrayIconFlashing", "contents": "@TrayIconFlashing" },
97+
{ "trigger": "@TrayIconVisible", "contents": "@TrayIconVisible" },
98+
{ "trigger": "@UserName", "contents": "@UserName" },
99+
{ "trigger": "@UserProfileDir", "contents": "@UserProfileDir" },
100+
{ "trigger": "@WDAY", "contents": "@WDAY" },
101+
{ "trigger": "@WindowsDir", "contents": "@WindowsDir" },
102+
{ "trigger": "@WorkingDir", "contents": "@WorkingDir" },
103+
{ "trigger": "@YDAY", "contents": "@YDAY" },
104+
{ "trigger": "@YEAR", "contents": "@YEAR" },
105+
]
106+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"scope": "source.autoit",
3+
"completions": [
4+
{ "trigger": "IDOK Flag MsgBox Constant Name", "contents": "\\$IDOK" },
5+
{ "trigger": "IDCANCEL Flag MsgBox Constant Name", "contents": "\\$IDCANCEL" },
6+
{ "trigger": "IDABORT Flag MsgBox Constant Name", "contents": "\\$IDABORT " },
7+
{ "trigger": "IDRETRY Flag MsgBox Constant Name", "contents": "\\$IDRETRY" },
8+
{ "trigger": "IDIGNORE Flag MsgBox Constant Name", "contents": "\\$IDIGNORE" },
9+
{ "trigger": "IDYES Flag MsgBox Constant Name", "contents": "\\$IDYES" },
10+
{ "trigger": "IDNO Flag MsgBox Constant Name", "contents": "\\$IDNO" },
11+
{ "trigger": "IDTRYAGAIN Flag MsgBox Constant Name", "contents": "\\$IDTRYAGAIN" },
12+
{ "trigger": "IDCONTINUE Flag MsgBox Constant Name", "contents": "\\$IDCONTINUE" },
13+
{ "trigger": "MB_OK Flag MsgBox Constant Name", "contents": "\\$MB_OK" },
14+
{ "trigger": "MB_OKCANCEL Flag MsgBox Constant Name", "contents": "\\$MB_OKCANCEL" },
15+
{ "trigger": "MB_ABORTRETRYIGNORE Flag MsgBox Constant Name", "contents": "\\$MB_ABORTRETRYIGNORE" },
16+
{ "trigger": "MB_YESNOCANCEL Flag MsgBox Constant Name", "contents": "\\$MB_YESNOCANCEL" },
17+
{ "trigger": "MB_YESNO Flag MsgBox Constant Name", "contents": "\\$MB_YESNO" },
18+
{ "trigger": "MB_RETRYCANCEL Flag MsgBox Constant Name", "contents": "\\$MB_RETRYCANCEL" },
19+
{ "trigger": "MB_CANCELTRYCONTINUE Flag MsgBox Constant Name", "contents": "\\$MB_CANCELTRYCONTINUE" },
20+
{ "trigger": "MB_HELP Flag MsgBox Constant Name", "contents": "\\$MB_HELP" },
21+
{ "trigger": "MB_ICONERROR Flag MsgBox Constant Name", "contents": "\\$MB_ICONERROR" },
22+
{ "trigger": "MB_ICONQUESTION Flag MsgBox Constant Name", "contents": "\\$MB_ICONQUESTION" },
23+
{ "trigger": "MB_ICONWARNING Flag MsgBox Constant Name", "contents": "\\$MB_ICONWARNING" },
24+
{ "trigger": "MB_ICONINFORMATION Flag MsgBox Constant Name", "contents": "\\$MB_ICONINFORMATION" },
25+
{ "trigger": "MB_DEFBUTTON1 Flag MsgBox Constant Name", "contents": "\\$MB_DEFBUTTON1" },
26+
{ "trigger": "MB_DEFBUTTON2 Flag MsgBox Constant Name", "contents": "\\$MB_DEFBUTTON2" },
27+
{ "trigger": "MB_DEFBUTTON3 Flag MsgBox Constant Name", "contents": "\\$MB_DEFBUTTON3" },
28+
{ "trigger": "MB_DEFBUTTON4 Flag MsgBox Constant Name", "contents": "\\$MB_DEFBUTTON4" },
29+
{ "trigger": "MB_APPLMODAL Flag MsgBox Constant Name", "contents": "\\$MB_APPLMODAL" },
30+
{ "trigger": "MB_SYSTEMMODAL Flag MsgBox Constant Name", "contents": "\\$MB_SYSTEMMODAL" },
31+
{ "trigger": "MB_TASKMODAL Flag MsgBox Constant Name", "contents": "\\$MB_TASKMODAL" },
32+
{ "trigger": "MB_DEFAULT_DESKTOP_ONLY Flag MsgBox Constant Name", "contents": "\\$MB_DEFAULT_DESKTOP_ONLY" },
33+
{ "trigger": "MB_RIGHT Flag MsgBox Constant Name", "contents": "\\$MB_RIGHT" },
34+
{ "trigger": "MB_RTLREADING Flag MsgBox Constant Name", "contents": "\\$MB_RTLREADING" },
35+
{ "trigger": "MB_SETFOREGROUND Flag MsgBox Constant Name", "contents": "\\$MB_SETFOREGROUND" },
36+
{ "trigger": "MB_TOPMOST Flag MsgBox Constant Name", "contents": "\\$MB_TOPMOST" },
37+
{ "trigger": "MB_SERVICE_NOTIFICATION Flag MsgBox Constant Name", "contents": "\\$MB_SERVICE_NOTIFICATION " },
38+
]
39+
}
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
{
2+
"scope": "source.autoit",
3+
"completions": [
4+
{ "trigger": "SPACE Send Key List", "contents": "{SPACE}" },
5+
{ "trigger": "ENTER Send Key List", "contents": "{ENTER}" },
6+
{ "trigger": "ALT Send Key List", "contents": "{ALT}" },
7+
{ "trigger": "BACKSPACE Send Key List", "contents": "{BS}" },
8+
{ "trigger": "DELETE Send Key List", "contents": "{DEL}" },
9+
{ "trigger": "UP Send Key List", "contents": "{UP}" },
10+
{ "trigger": "DOWN Send Key List", "contents": "{DOWN}" },
11+
{ "trigger": "LEFT Send Key List", "contents": "{LEFT}" },
12+
{ "trigger": "RIGHT Send Key List", "contents": "{RIGHT}" },
13+
{ "trigger": "HOME Send Key List", "contents": "{HOME}" },
14+
{ "trigger": "END Send Key List", "contents": "{END}" },
15+
{ "trigger": "ESCAPE Send Key List", "contents": "{ESC}" },
16+
{ "trigger": "INSERT Send Key List", "contents": "{INS}" },
17+
{ "trigger": "PAGE UP Send Key List", "contents": "{PGUP}" },
18+
{ "trigger": "PAGE DOWN Send Key List", "contents": "{PGDN}" },
19+
{ "trigger": "F1 Send Key List", "contents": "{F1}" },
20+
{ "trigger": "F2 Send Key List", "contents": "{F2}" },
21+
{ "trigger": "F3 Send Key List", "contents": "{F3}" },
22+
{ "trigger": "F4 Send Key List", "contents": "{F4}" },
23+
{ "trigger": "F5 Send Key List", "contents": "{F5}" },
24+
{ "trigger": "F6 Send Key List", "contents": "{F6}" },
25+
{ "trigger": "F7 Send Key List", "contents": "{F7}" },
26+
{ "trigger": "F8 Send Key List", "contents": "{F8}" },
27+
{ "trigger": "F9 Send Key List", "contents": "{F9}" },
28+
{ "trigger": "F10 Send Key List", "contents": "{F10}" },
29+
{ "trigger": "F11 Send Key List", "contents": "{F11}" },
30+
{ "trigger": "F12 Send Key List", "contents": "{F12}" },
31+
{ "trigger": "TAB Send Key List", "contents": "{TAB}" },
32+
{ "trigger": "LWIM Send Key List", "contents": "{LWIM}" },
33+
{ "trigger": "RWIN Send Key List", "contents": "{RWIN}" },
34+
{ "trigger": "NUMLOCK Send Key List", "contents": "{NUMLOCK}" },
35+
{ "trigger": "CAPSLOCK Send Key List", "contents": "{CAPSLOCK}" },
36+
{ "trigger": "SCROLLLOCK Send Key List", "contents": "{SCROLLLOCK}" },
37+
{ "trigger": "BREAK Send Key List", "contents": "{BREAK}" },
38+
{ "trigger": "PAUSE Send Key List", "contents": "{PAUSE}" },
39+
{ "trigger": "NUMPAD0 Send Key List", "contents": "{NUMPAD0}" },
40+
{ "trigger": "NUMPAD1 Send Key List", "contents": "{NUMPAD1}" },
41+
{ "trigger": "NUMPAD2 Send Key List", "contents": "{NUMPAD2}" },
42+
{ "trigger": "NUMPAD3 Send Key List", "contents": "{NUMPAD3}" },
43+
{ "trigger": "NUMPAD4 Send Key List", "contents": "{NUMPAD4}" },
44+
{ "trigger": "NUMPAD5 Send Key List", "contents": "{NUMPAD5}" },
45+
{ "trigger": "NUMPAD6 Send Key List", "contents": "{NUMPAD6}" },
46+
{ "trigger": "NUMPAD7 Send Key List", "contents": "{NUMPAD7}" },
47+
{ "trigger": "NUMPAD8 Send Key List", "contents": "{NUMPAD8}" },
48+
{ "trigger": "NUMPAD9 Send Key List", "contents": "{NUMPAD9}" },
49+
{ "trigger": "NUMPADMULT Send Key List", "contents": "{NUMPADMULT}" },
50+
{ "trigger": "NUMPADADD Send Key List", "contents": "{NUMPADADD}" },
51+
{ "trigger": "NUMPADSUB Send Key List", "contents": "{NUMPADSUB}" },
52+
{ "trigger": "NUMPADDIV Send Key List", "contents": "{NUMPADDIV}" },
53+
{ "trigger": "NUMPADDOT Send Key List", "contents": "{NUMPADDOT}" },
54+
{ "trigger": "NUMPADENTER Send Key List", "contents": "{NUMPADENTER}" },
55+
{ "trigger": "APPSKEY Send Key List", "contents": "{APPSKEY}" },
56+
{ "trigger": "LALT Send Key List", "contents": "{LALT}" },
57+
{ "trigger": "RALT Send Key List", "contents": "{RALT}" },
58+
{ "trigger": "LCTRL Send Key List", "contents": "{LCTRL}" },
59+
{ "trigger": "RCTRL Send Key List", "contents": "{RCTRL}" },
60+
{ "trigger": "LSHIFT Send Key List", "contents": "{LSHIFT}" },
61+
{ "trigger": "RSHIFT Send Key List", "contents": "{RSHIFT}" },
62+
{ "trigger": "SLEEP Send Key List", "contents": "{SLEEP}" },
63+
{ "trigger": "ALTDOWN Send Key List", "contents": "{ALTDOWN}" },
64+
{ "trigger": "SHIFTDOWN Send Key List", "contents": "{SHIFTDOWN}" },
65+
{ "trigger": "CTRLDOWN Send Key List", "contents": "{CTRLDOWN}" },
66+
{ "trigger": "LWINDOWN Send Key List", "contents": "{LWINDOWN}" },
67+
{ "trigger": "RWINDOWN Send Key List", "contents": "{RWINDOWN}" },
68+
{ "trigger": "ASC Send Key List", "contents": "{ASC ${1:numeric}}" },
69+
{ "trigger": "BROWSER_BACK Send Key List", "contents": "{BROWSER_BACK}"},
70+
{ "trigger": "BROWSER_FORWARD Send Key List", "contents": "{BROWSER_FORWARD}"},
71+
{ "trigger": "BROWSER_REFRESH Send Key List", "contents": "{BROWSER_REFRESH}"},
72+
{ "trigger": "BROWSER_STOP Send Key List", "contents": "{BROWSER_STOP}"},
73+
{ "trigger": "BROWSER_SEARCH Send Key List", "contents": "{BROWSER_SEARCH}"},
74+
{ "trigger": "BROWSER_FAVORITES Send Key List", "contents": "{BROWSER_FAVORITES}"},
75+
{ "trigger": "BROWSER_HOME Send Key List", "contents": "{BROWSER_HOME}"},
76+
{ "trigger": "VOLUME_MUTE Send Key List", "contents": "{VOLUME_MUTE}"},
77+
{ "trigger": "VOLUME_DOWN Send Key List", "contents": "{VOLUME_DOWN}"},
78+
{ "trigger": "VOLUME_UP Send Key List", "contents": "{VOLUME_UP}"},
79+
{ "trigger": "MEDIA_NEXT Send Key List", "contents": "{MEDIA_NEXT}"},
80+
{ "trigger": "MEDIA_PREV Send Key List", "contents": "{MEDIA_PREV}"},
81+
{ "trigger": "MEDIA_STOP Send Key List", "contents": "{MEDIA_STOP}"},
82+
{ "trigger": "MEDIA_PLAY_PAUSE Send Key List", "contents": "{MEDIA_PLAY_PAUSE}"},
83+
{ "trigger": "LAUNCH_MAIL Send Key List", "contents": "{LAUNCH_MAIL}"},
84+
{ "trigger": "LAUNCH_MEDIA Send Key List", "contents": "{LAUNCH_MEDIA}"},
85+
{ "trigger": "LAUNCH_APP1 Send Key List", "contents": "{LAUNCH_APP1}"},
86+
{ "trigger": "LAUNCH_APP2 Send Key List", "contents": "{LAUNCH_APP2}"},
87+
{ "trigger": "OEM_102 Send Key List", "contents": "{OEM_102}"},
88+
]
89+
}

0 commit comments

Comments
 (0)