home *** CD-ROM | disk | FTP | other *** search
/ PCNET 2006 August - Disc 1 / PCNET_CD_2006_08_1.iso / shareware / AutoHotkey104407_Install.exe / Extras / AutoHotkey.def < prev    next >
Encoding:
Text File  |  2006-05-14  |  39.0 KB  |  1,344 lines

  1. ;;; ==================================================================
  2. ;;;   PSPad clip definition file for AutoHotkey
  3. ;;;   Language:       English
  4. ;;;   AUTHOR(s)       beardboy, GoGoGadgetScott
  5. ;;;   VERSION:        1.1.1, 04/19/2004 - 02/08/2005
  6. ;;;                   Kept updated with new syntax upon each new
  7. ;;;                   AutoHotkey release. Please send corrections and
  8. ;;;                   improvements to support@autohotkey.com
  9. ;;; ==================================================================
  10. ;;;   HISTORY:
  11. ;;;    1.1.1
  12. ;;;     - Added a few missing spaces in command descriptions.
  13. ;;; ==================================================================
  14. ;;; G (green)       - PHPad hotkeys
  15. ;;; R (red)         - File, Directory, and Disk Management
  16. ;;; F (fuchsia)     - GUI, MsgBox, InputBox & Other Dialogs
  17. ;;; M (maroon)      - Keyboard & Mouse Control
  18. ;;; D (dark gray)   - Process Management
  19. ;;; N (navy)        - String Management
  20. ;;; P (purple)      - Window Management
  21. ;;; B (blue)        - Directives
  22. ;;;   (black)       - Misc. & Unsorted Commands
  23. ;;; ==================================================================
  24. ;
  25. ;
  26. ; --------------------------------------------------------------------
  27. ;                               Macro definition
  28. ; --------------------------------------------------------------------
  29. [Macro definition]
  30. ; Directives
  31. %AllowSameLineComments%=@K AllowSameLineComments:,#AllowSameLineComments
  32. %ClipboardTimeout%=@E ClipboardTimeout (ms):,#ClipboardTimeout ,
  33. %CommentFlag%=@C Comment String:,#CommentFlag ,,"//";"@";"!";"/";"*;";"C*"
  34. %ErrorStdOut%=@K ErrorStdOut:,#ErrorStdOut
  35. %EscapeChar%=@C Escape Char:,#EscapeChar ,,"\";"`"
  36. %HotkeyInterval%=@E HotkeyInterval (ms):,#HotkeyInterval ,
  37. %HotkeyModifierTimeout%=@E HotkeyModifierTimeout (ms):,#HotkeyModifierTimeout ,
  38. %Hotstring%=@C Hotstring:,#Hotstring ,,"-()[]{}':;""/\,.?!`n `t";"`n `t";"-()[]{}"
  39. %IfWinActive%=@E IfWinActive:,#IfWinActive
  40. %IfWinExist%=@E IfWinExist:,#IfWinExist
  41. %IfWinNotActive%=@E IfWinNotActive:,#IfWinNotActive
  42. %IfWinNotExist%=@E IfWinNotExist:,#IfWinNotExist
  43. %Include%=@O Include:,#Include ,SomeFile.ahk,AutoHotKey Scripts (*.ahk)|*.ahk
  44. %IncludeAgain%=@O IncludeAgain:,#IncludeAgain ,SomeFile.ahk,AutoHotKey Scripts (*.ahk)|*.ahk
  45. %InstallKeybdHook%=@K InstallKeybdHook:,#InstallKeybdHook ,
  46. %InstallMouseHook%=@K InstallMouseHook:,#InstallMouseHook ,
  47. %KeyHistory%=@E MaxEvents (num):,#KeyHistory ,
  48. %LTrim%=@C LTrim:,#LTrim ,,"On";"Off"
  49. %MaxHotkeysPerInterval%=@E MaxHotkeys/Interval (num):,#MaxHotkeysPerInterval ,
  50. %MaxMem%=@E MaxMem (MB):,#MaxMem ,
  51. %MaxThreads%=@E MaxThreads (num):,#MaxThreads ,
  52. %MaxThreadsBuffer%=@C MaxThreadsBuffer:,#MaxThreadsBuffer ,,"On";"Off"
  53. %MaxThreadsPerHotkey%=@E MaxThreads/Hotkey (num):,#MaxThreadsPerHotkey ,
  54. %NoEnv%=@K NoEnv:,#NoEnv
  55. %NoTrayIcon%=@K NoTrayIcon:,#NoTrayIcon
  56. %Persistent%=@K Persistent:,#Persistent
  57. %SingleInstance%=@C SingleInstance:,#SingleInstance ,,"force";"ignore";"off"
  58. %UseHook%=@C UseHook:,#UseHook ,,"On";"Off"
  59. %WinActivateForce%=@K WinActivateForce:,#WinActivateForce
  60. ; mandatory elements
  61. %options%=@C MsgBox type:,,0,"1";"2";"3";"4";"5";"16";"32";"48";"64";"256";"512";"4096";"8192"
  62. %title%=@E Title:,,Title,,
  63. %label%=@E Label:,,Label,,
  64. %text%=@E Text:,,Message,,
  65. %wait%=@E Wait:
  66. %BlockInput%=@C BlockInput:,,,"On";"Off";"Send";"Mouse";"SendAndMouse";"Default";"MouseMove";"MouseMoveOff"
  67. %SetState%=@C State:,,,"On";"Off";"AlwaysOn";"AlwaysOff"
  68. %onoff%=@C Value:,,,"On";"Off"
  69. %onofft%=@C Value:,,,"On";"Off";"Toggle"
  70. %speed%=@C Speed:,,,"Fast";"Slow"
  71. %sound%=@O Filename:,,%SystemRoot%\Media\ding.wav,Auto file (*.wav;*.mp3;*.avi)|*.wav;*.mp3;*.avi
  72. %ValueType%=@C ValueType:,,,"REG_SZ";"REG_EXPAND_SZ";"REG_MULTI_SZ";"REG_DWORD";"REG_BINARY"
  73. %RootKey%=@C RootKey:,,,"HKLM";"HKU";"HKCU";"HKCR";"HKCC"
  74. %cmd%=@C Command:,,,"Exist";"Close";"Priority";"Wait";"WaitClose"
  75. %ButtonName%=@C ButtonName:,,,"Yes";"No";"OK";"Cancel";"Abort";"Ignore";"Retry";"Timeout"
  76. ; optional elements
  77. %timeoutoptional%=@E Timeout (s) (optional):
  78. ;
  79. ;
  80. ; --------------------------------------------------------------------
  81. ;                           PHPad hotkeys
  82. ; --------------------------------------------------------------------
  83. [Retrieve |G Retrievecontents of this variable]*Shift+Ctrl+R
  84. %º|%
  85. [Label |G name of the label or hotkey label]*Shift+Ctrl+L
  86. º|::
  87. [Hotstring |G name of the label or hotkey label]*Shift+Ctrl+H
  88. ::º::|
  89. ;
  90. ; --------------------------------------------------------------------
  91. ;                              Comments
  92. ; --------------------------------------------------------------------
  93. [Comment | Comment out lines]
  94. /*
  95. º|
  96. */
  97. ;
  98. ;
  99. ; --------------------------------------------------------------------
  100. ;                File, Directory, and Disk Management
  101. ; --------------------------------------------------------------------
  102. [Drive |R Ejects/retracts tray]
  103. Drive, Sub-command [, Drive , Value]
  104. [DriveGet |R Retrieves information about drive(s)]
  105. DriveGet, OutputVar, Cmd [, Value]
  106. [DriveSpaceFree |R Free disk space of drive (Megabytes)]
  107. DriveSpaceFree, OutputVar, C:\
  108. [FileAppend |R Appends text to file]
  109. FileAppend [, Text`n, Filename]
  110. [FileCopy |R Copies one or more files]
  111. FileCopy, Source, Dest [, Flag (1 = overwrite)]
  112. [FileCopyDir |R Copies folder along with all its sub-folders & files]
  113. FileCopyDir, Source, Dest [, Flag]
  114. [FileCreateDir |R Creates a folder]
  115. FileCreateDir, DirName
  116. [FileCreateShortcut |R Creates a shortcut (.lnk) file]
  117. FileCreateShortcut, Target, LinkFile [, WorkingDir, Args, Description, IconFile, ShortcutKey, IconNumber, RunState]
  118. [FileDelete |R Deletes one or more files]
  119. FileDelete, FilePattern
  120. [FileExist | Checks if file/dir exists]
  121. FileExist(FilePattern)
  122. [FileInstall |R Includes specified file inside compiled script]
  123. FileInstall, Source, Dest [, Flag (1 = overwrite)]
  124. [FileGetAttrib |R Whether file/folder is read-only, hidden, etc]
  125. FileGetAttrib, OutputVar(RASHNDOCT) [, Filename]
  126. [FileGetShortcut |R information about shortcut (.lnk) file]
  127. FileGetShortcut, LinkFile [, OutTarget, OutDir, OutArgs, OutDescription, OutIcon, OutIconNum, OutRunState]
  128. [FileGetSize |R Retrieves size of file]
  129. FileGetSize, OutputVar [, Filename, Units]
  130. [FileGetTime |R Retrieves datetime stamp of file or folder]
  131. FileGetTime, OutputVar [, Filename, WhichTime (M, C, or -- default is M)]
  132. [FileGetVersion |R Retrieves the version of a file]
  133. FileGetVersion, OutputVar [, Filename]
  134. [FileMove |R Moves or renames one or more files]
  135. FileMove, Source, Dest [, Flag (1 = overwrite)]
  136. [FileMoveDir |R Moves folder along with all its contents]
  137. FileMoveDir, Source, Dest [, Flag (2 = overwrite)]
  138. [FileRead |R Reads all of file's text into variable]
  139. FileRead, OutputVar, Filename
  140. [FileReadLine |R specified line from file & stores text in variable]
  141. FileReadLine, OutputVar, Filename, LineNum
  142. [FileRecycle |R Sends file or directory to recycle bin]
  143. FileRecycle, FilePattern
  144. [FileRecycleEmpty |R Empties the recycle bin]
  145. FileRecycleEmpty [, C:\]
  146. [FileRemoveDir |R Deletes a folder]
  147. FileRemoveDir, Path [, Recurse? (1 = yes)]
  148. [FileSetAttrib |R Sets file/folder attributes]
  149. FileSetAttrib, Attributes(RASHNOT) [, FilePattern, OperateOnFolders?, Recurse?]
  150. [FileSetTime |R Changes datetime stamp of one or more files or folders]
  151. FileSetTime [, YYYYMMDDHH24MISS, FilePattern, WhichTime (M|C|A), OperateOnFolders?, Recurse?]
  152. [IfExist |R Checks for the existence of a file or folder]
  153. IfExist, File|Dir|Pattern
  154. [IfNotExist |R Checks for the existence of a file or folder]
  155. IfNotExist, File|Dir|Pattern
  156. [IniDelete |R Deletes a value from a standard format .ini file]
  157. IniDelete, Filename, Section [, Key]
  158. [IniRead |R Reads a value from a standard format .ini file]
  159. IniRead, OutputVar, Filename, Section, Key [, Default]
  160. [IniWrite |R Writes value to standard format .ini file]
  161. IniWrite, Value, Filename, Section, Key
  162. [Loop (files & folders) |R Retrieves files or folders, one at a time]
  163. Loop, C:\My Folder\*.txt [, IncludeFolders?, Recurse?]
  164. {
  165.     MsgBox Current file or folder name (with full path) is: %A_LoopFileFullPath%
  166.     MsgBox Same as above but built from two components: %A_LoopFileDir%\%A_LoopFileName%
  167. }
  168. [Loop (read file contents) |R Retrieves lines in text file, one at time]
  169. Loop, Read, InputFile [, OutputFile, FutureUse]
  170. {
  171.     MsgBox The current line is:`n%A_LoopReadLine%
  172.     FileAppend This text is appended to OutputFile (if present).`n
  173. }
  174. [SetWorkingDir |script's current working directory]
  175. SetWorkingDir, DirName
  176. [SplitPath |R Separates file name or URL into its name, directory, extension, & drive]
  177. SplitPath, InputVar [, OutFileName, OutDir, OutExtension, OutNameNoExt, OutDrive]
  178. ;
  179. ;
  180. ; --------------------------------------------------------------------
  181. ;              GUI, MsgBox, InputBox & Other Dialogs
  182. ; --------------------------------------------------------------------
  183. [FileSelectFile |F standard dialog  that allowsuser to select files]
  184. FileSelectFile, OutputVar [, Options, RootDir[\DefaultFilename], Prompt, Filter]
  185. [FileSelectFolder |F Displays select folder]
  186. FileSelectFolder, OutputVar [, *StartingFolder, Options, Prompt]
  187. [Gui |F Creates & manages windows & controls]
  188. GUI, sub-command [, Param2, Param3, Param4]
  189. [GuiControl |F Makes variety of changes to control in GUI window]
  190. GuiControl, Sub-command, ControlID [, Param3] 
  191. [GuiControlGet |F Information about control in GUI window]
  192. GuiControlGet, OutputVar [, Sub-command, ControlID, Param4]
  193. [IfMsgBox |F Which button was pushed by last MsgBox command]
  194. IfMsgBox, %ButtonName%
  195. [IL_Add |F Adds an icon or picture to an ImageList]
  196. IL_Add(ImageListID, Filename [, IconNumber, ResizeNonIcon?])
  197. [IL_Create |F Creates an empty ImageList]
  198. IL_Create([InitialCount, GrowCount, LargeIcons?])
  199. [IL_Destroy |F Destroys an ImageList]
  200. IL_Destroy(ImageListID)
  201. [LV_Add |F Adds a row to a ListView]
  202. LV_Add([Options, Col1, Col2, ...])
  203. [LV_Delete |F Deletes a row from a ListView]
  204. LV_Delete([RowNumber])
  205. [LV_DeleteCol |F Delets a column from a ListView]
  206. LV_DeleteCol(ColumnNumber)
  207. [LV_GetCount |F Gets the total rows in a ListView]
  208. LV_GetCount(["S"])
  209. [LV_GetNext |F Finds the next selected, checked, or focused item in a ListView]
  210. LV_GetNext([StartingRowNumber, "C|F"])
  211. [LV_GetText |F Retrieves the text from rows or column headers in a ListView]
  212. LV_GetText(OutputVar, RowNumber [, ColumnNumber])
  213. [LV_Insert |F Inserts a row into a ListView]
  214. LV_Insert(RowNumber [, Options, Col1, Col2, ...])
  215. [LV_InsertCol |F Inserts a column into a ListView]
  216. LV_InsertCol(ColumnNumber [, Options, ColumnTitle])
  217. [LV_Modify |F Modifies a row in a ListView]
  218. LV_Modify(RowNumber, Options [, NewCol1, NewCol2, ...])
  219. [LV_ModifyCol |F Modifies a column in a ListView]
  220. LV_ModifyCol([ColumnNumber, Options, ColumnTitle])
  221. [LV_SetImageList |F Assigns an ImageList to a ListView]
  222. LV_SetImageList(ImageListID [, 0|1|2])
  223. [InputBox |F Displays an input box to ask to enter string]
  224. InputBox, OutputVar [, Title, Prompt, HIDE, Width, Height, X, Y, Font, Timeout, Default]
  225. [MsgBox |F Displays simple message box]
  226. MsgBox, Text
  227. [MsgBox+ |F Displays simple message box with optional timeout]
  228. MsgBox, %options%, %title%, %text%, %timeoutoptional%
  229. [Progress |F Creates or updates window containing progress bar]
  230. Progress, Param1 [, SubText, MainText, WinTitle, FontName, FutureUse]
  231. [SB_SetIcon |F Displays an icon to the left of the text]
  232. SB_SetIcon(Filename [, IconNumber, PartNumber])
  233. [SB_SetParts |F Divides the bar into multiple sections]
  234. SB_SetParts([Width1, Width2, ... Width255])
  235. [SB_SetText |F Displays text in the bar]
  236. SB_SetText(NewText [, PartNumber, Style])
  237. [SplashImage |F Creates or updates window containing image]
  238. SplashImage [, ImageFile, Options, SubText, MainText, WinTitle, FontName, FutureUse]
  239. [SplashTextOn |F customizable text popup window]
  240. SplashTextOn [, Width, Height, Title, Text]
  241. [SplashTextOff |F above window]
  242. SplashTextOff
  243. [ToolTip |F Creates an always-on-top window anywhere onscreen]
  244. ToolTip [, Text, X, Y, WhichToolTip]
  245. [TrayTip |F Creates balloon message window neartray icon]
  246. TrayTip [, Title, Text, Seconds, Options]
  247. [TV_Add |F Adds a new item to the TreeView]
  248. TV_Add(Name, [ParentItemID, Options])
  249. [TV_Delete |F Deletes an item (or all items) from the Tree]
  250. TV_Delete([ItemID])
  251. [TV_GetChild |F Returns the ID of the item's top child]
  252. TV_GetChild(ParentItemID)
  253. [TV_GetCount |F Returns the number of items in the tree]
  254. TV_GetCount()
  255. [TV_GetNext |F Returns the ID of the sibling below the item (or traverses entire tree)]
  256. TV_GetNext([ItemID, "Checked | Full"])
  257. [TV_Get |F Returns expanded/checked/bold status of the item]
  258. TV_Get(ItemID, "Expand | Check | Bold")
  259. [TV_GetParent |F Returns the ID of the item's parent (or 0)]
  260. TV_GetParent(ItemID)
  261. [TV_GetPrev |F Returns the ID of the sibling above the item]
  262. TV_GetPrev(ItemID)
  263. [TV_GetSelection |F Returns the ID of the selected item]
  264. TV_GetSelection()
  265. [TV_GetText |F Retrieves the item's text/name]
  266. TV_GetText(OutputVar, ItemID)
  267. [TV_Modify |F Modifies the attributes and/or name of an item]
  268. TV_Modify(ItemID [, Options, NewName])
  269. ;
  270. ;
  271. ; --------------------------------------------------------------------
  272. ;                      Keyboard & Mouse Control
  273. ; --------------------------------------------------------------------
  274. [Hotkey |M Creates, modifies, enables, or disables hotkey]
  275. Hotkey, KeyName [, Label, Options]
  276. [ListHotkeys |M Displays hotkeys in use bycurrent script]
  277. ListHotkeys
  278. [Pause |M Pauses script's current thread]
  279. Pause [, On|Off|Toggle, OperateOnUnderlyingThread?]
  280. [Reload |M Replace scurrently running instance of script]
  281. Reload
  282. [Suspend |M Disables all or selected hotkeys]
  283. Suspend [, Mode]
  284. [BlockInput |M Dis/enables mouse & keyboard]
  285. BlockInput, %BlockInput%
  286. [ControlSend |M to window or control]
  287. ControlSend [, Control, Keys, WinTitle, WinText, ExcludeTitle, ExcludeText]
  288. [ControlSendRaw |M to window or control]
  289. ControlSendRaw [, Control, Keys, WinTitle, WinText, ExcludeTitle, ExcludeText]
  290. [GetKeyState |M Checks if key or button is down or up]
  291. GetKeyState, OutputVar, WhichKey [, Mode (P|T)]
  292. [KeyHistory |M History of most recent keystrokes and mouse clicks]
  293. KeyHistory
  294. [KeyWait |M Waits for key or button to be released or pressed down]
  295. KeyWait, KeyName [, Options]
  296. [Input |M Waits for the user to type string]
  297. Input [, OutputVar, Options, EndKeys, MatchList]
  298. [Send |M simulated keystrokes to active window]
  299. Send, Keys
  300. [SendEvent |M simulated keystrokes to active window]
  301. SendEvent, Keys
  302. [SendInput |M simulated fast keystrokes to active window]
  303. SendInput, Keys
  304. [SendMode |M Makes Send synonymous with SendInput/Play]
  305. SendMode, Event|Play|Input|InputThenPlay
  306. [SendPlay |M simulated keystrokes to active window]
  307. SendPlay, Keys
  308. [SendRaw |M simulated keystrokes to active window]
  309. SendRaw, Keys
  310. [SetKeyDelay |M Sets delay after each keystroke]
  311. SetKeyDelay [, Delay, PressDuration]
  312. [SetNumlockState |M state of Numlock key]
  313. SetNumLockState, On|Off|AlwaysOn|AlwaysOff
  314. [SetScrollLockState |M state of Scrolllock key]
  315. SetScrollLockState, On|Off|AlwaysOn|AlwaysOff
  316. [SetCapslockState |M state of Capslock key]
  317. SetCapsLockState, On|Off|AlwaysOn|AlwaysOff
  318. [SetStoreCapslockModeSend |M Whether to restore state of CapsLock]
  319. SetStoreCapslockMode, On|Off|AlwaysOn|AlwaysOff
  320. [Click |M Clicks a mouse button or turns the wheel]
  321. Click [, Options]
  322. [ControlClick |M Mouse button or mouse wheel event to control]
  323. ControlClick [, Control-or-Pos, WinTitle, WinText, WhichButton, ClickCount, Options, ExcludeTitle, ExcludeText]
  324. [MouseClick |M Clicks or holds mouse button, or turns mouse wheel]
  325. MouseClick, WhichButton [, X, Y, ClickCount, Speed, D|U, R]
  326. [MouseClickDrag |M Clicks, holds mouse button, moves, releases]
  327. MouseClickDrag, WhichButton, X1, Y1, X2, Y2 [, Speed, R]
  328. [MouseGetPos |M Retrieves current position of mouse cursor]
  329. MouseGetPos, [OutputVarX, OutputVarY, OutputVarWin, OutputVarControl, 1|2|3]
  330. [MouseMove |M Moves mouse cursor]
  331. MouseMove, X, Y [, Speed, R]
  332. [SetDefaultMouseSpeed |M Mouse speed if unspecified]
  333. SetDefaultMouseSpeed, Speed
  334. [SetMouseDelay |M Delay after each mouse movement or click]
  335. SetMouseDelay, Delay
  336. ;
  337. ;
  338. ; --------------------------------------------------------------------
  339. ;                         Process Management
  340. ; --------------------------------------------------------------------
  341. [Exit |D Exits current thread]
  342. Exit [, ExitCode]
  343. [ExitApp |D Terminates script unconditionally]
  344. ExitApp [, ExitCode]
  345. [OnExit |D Specifies subroutine to run whenscript exits]
  346. OnExit [, Label, FutureUse]
  347. [OutputDebug |D Sends a string to the debugger for display]
  348. OutputDebug, Text
  349. [Process |D Performs operations on process]
  350. Process, %cmd%, PID-or-Name [, Param3]
  351. [Run |D Runs an external program]
  352. Run, Target [, WorkingDir, Max|Min|Hide|UseErrorLevel, OutputVarPID]
  353. [RunAs |D Specifies user credentials to use Run and RunWait]
  354. RunAs [, User, Password, Domain]
  355. [RunWait |D Runs an external program & waits u]
  356. RunWait, Target [, WorkingDir, Max|Min|Hide|UseErrorLevel, OutputVarPID]
  357. [Shutdown |D Shuts down, restarts, or logs offsystem]
  358. Shutdown, Code
  359. [Sleep |D Waits specified amount of time before continuing]
  360. Sleep, Delay
  361. ;
  362. ;
  363. ; --------------------------------------------------------------------
  364. ;                         String Management
  365. ; --------------------------------------------------------------------
  366. [EnvGet |N Retrieves an environment variable]
  367. EnvGet, OutputVar, EnvVarName
  368. [EnvSet |N Writes value to variable contained in environment]
  369. EnvSet, EnvVar, Value
  370. [FormatTime |N Transforms timestamp into specified date/time format]
  371. FormatTime, OutputVar [, YYYYMMDDHH24MISS, Format]
  372. [If |N If blank or 0]
  373. If var
  374. [IfEqual |N If var = value]
  375. IfEqual, var, value
  376. [IfNotEqual |N If var <> value]
  377. IfNotEqual, var, value
  378. [IfGreater |N If var > value]
  379. IfGreater, var, value
  380. [IfGreaterOrEqual |N If var >= value]
  381. IfGreaterOrEqual, var, value
  382. [IfLess |N If var < value]
  383. IfLess, var, value
  384. [IfLessOrEqual |N If var <= value]
  385. IfLessOrEqual, var, value
  386. [IfInString |N Checks if variable contains specified string]
  387. IfInString, var, SearchString
  388. [IfNotInString |N Checks if variable contains specified string]
  389. IfNotInString, var, SearchString
  390. [InStr |N Searches for substring]
  391. InStr(Haystack, Needle [, CaseSensitive?, StartingPos])
  392. [Loop (parse string) |N Retrieves substrings from a string]
  393. Loop, Parse, InputVar [, Delimiters|CSV, OmitChars]
  394. {
  395.     MsgBox The current field is: %A_LoopField%
  396. }
  397. [SetEnv |N Assigns value to variable.]
  398. SetEnv, var, Value
  399. [SetFormat |N Sets format of integers & floating point numbers]
  400. SetFormat, NumberType, Format
  401. [Sort |N Arranges in alphabetical, numerical, or random order]
  402. Sort, varName [, Options]
  403. [StringCaseSense |N whether string comparisons are case sensitive (default is no)]
  404. StringCaseSense, On|Off|Locale
  405. [StringGetPos |N Position ofspecified substring within string]
  406. StringGetPos, OutputVar, InputVar, SearchText [, L#|R#, Offset]
  407. [StringLeft |N Retrieves number of characters fromleft hand sid]
  408. StringLeft, OutputVar, InputVar, Count
  409. [StringRight |N Retrieves number of characters fromright hand sid]
  410. StringRight, OutputVar, InputVar, Count
  411. [StringLen |N Count of how many characters are in string]
  412. StringLen, OutputVar, InputVar
  413. [StrLen |N Length of string]
  414. StrLen(String)
  415. [StringLower |N Converts string to lowercase]
  416. StringLower, OutputVar, InputVar [, T]
  417. [StringUpper |N Converts string to uppercase]
  418. StringUpper, OutputVar, InputVar [, T]
  419. [StringMid |N Retrieves characters from specified position in string]
  420. StringMid, OutputVar, InputVar, StartChar [, Count, L]
  421. [StringReplace |N Replaces the specified substring with a new string]
  422. StringReplace, OutputVar, InputVar, SearchText [, ReplaceText, ReplaceAll?] 
  423. [StringSplit |N An array of substrings using specified delimiters]
  424. StringSplit, OutputArray, InputVar [, Delimiters, OmitChars, FutureUse]
  425. [StringTrimLeft |N Removes number of characters from left side of a string]
  426. StringTrimLeft, OutputVar, InputVar, Count
  427. [StringTrimRight |N Removes number of characters from right side of a string]
  428. StringTrimRight, OutputVar, InputVar, Count
  429. ;
  430. ;
  431. ; --------------------------------------------------------------------
  432. ;                         Window Management
  433. ; --------------------------------------------------------------------
  434. [WinMenuSelectItem |P menu item frommenu bar of window]
  435. WinMenuSelectItem, WinTitle, WinText, Menu [, SubMenu1, SubMenu2, SubMenu3, SubMenu4, SubMenu5, SubMenu6, ExcludeTitle, ExcludeText]
  436. [SetControlDelay |P delay after each control-modifying command]
  437. SetControlDelay, Delay
  438. [SendMessage |P Sends message to window or control]
  439. SendMessage, Msg [, wParam, lParam, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  440. [PostMessage |P Places message queue of window or control]
  441. PostMessage, Msg [, wParam, lParam, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  442. [Menu |P Creates, deletes, modifies & displays menus & menu items]
  443. Menu, MenuName, Cmd [, P3, P4, P5, FutureUse]
  444. [Control |P Makes variety of changes to control]
  445. Control, Cmd [, Value, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  446. [ControlFocus |P Input focus to given control on window]
  447. ControlFocus [,Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  448. [ControlGet |P Retrieves various types of information about control]
  449. ControlGet, OutputVar, Cmd [, Value, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  450. [ControlGetFocus |P Which control of target window has focus]
  451. ControlGetFocus, OutputVar [WinTitle, WinText, ExcludeTitle, ExcludeText]
  452. [ControlGetPos |P position & size of control]
  453. ControlGetPos [, X, Y, Width, Height, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  454. [ControlGetText |P text from control]
  455. ControlGetText, OutputVar [, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  456. [ControlMove |P Moves or resizes control]
  457. ControlMove, Control, X, Y, Width, Height [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  458. [ControlSetText |text of control]
  459. ControlSetText [, Control, NewText, WinTitle, WinText, ExcludeTitle, ExcludeText] 
  460. [GroupActivate |P next window in window group]
  461. GroupActivate, GroupName [, R]
  462. [GroupAdd |P Adds window specification to group, creating group if necessary]
  463. GroupAdd, GroupName, WinTitle [, WinText, Label, ExcludeTitle, ExcludeText]
  464. [GroupClose |P Closes active window if it was just activated by GroupActivate/Deactivate]
  465. GroupClose, GroupName [, A|R]
  466. [GroupDeactivate |P to Activates next window not in group]
  467. GroupDeactivate, GroupName [, R]
  468. [DetectHiddenText |P Invisible text in window is seen]
  469. DetectHiddenText, %onoff%
  470. [DetectHiddenWindows |P Invisible windows are seen by script]
  471. DetectHiddenWindows, %onoff%
  472. [DllCall |P Calls a function in a DLL]
  473. DllCall("[DllFile\]Function" [, "Type1", Arg1, "Type2", Arg2, "Cdecl ReturnType"])
  474. [IfWinActive |]
  475. IfWinActive [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  476. [IfWinNotActive |]
  477. IfWinNotActive [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  478. [IfWinExist |]
  479. IfWinExist [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  480. [IfWinNotExist |]
  481. IfWinNotExist [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  482. [IsLabel |]
  483. IsLabel(LabelName)
  484. [OnMessage |]
  485. OnMessage(MsgNumber [, "FunctionName"])
  486. [SetTitleMatchMode |P window titles search mode]
  487. SetTitleMatchMode, 1|2|3|fast|slow
  488. [SetWinDelay |P Sets delay after windowing command]
  489. SetWinDelay, Delay
  490. [StatusBarGetText |P Retrieves text from standard status bar control]
  491. StatusBarGetText, OutputVar [, Part#, WinTitle, WinText, ExcludeTitle, ExcludeText]
  492. [StatusBarWait |P Waits until window's status bar contains specified string]
  493. StatusBarWait [, BarText, Seconds, Part#, WinTitle, WinText, Interval, ExcludeTitle, ExcludeText] 
  494. [WinActivate |P Brings window to foreground]
  495. WinActivate [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  496. [WinActivateBottom |P Activates least recently used (bottommost) matching window]
  497. WinActivateBottom [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  498. [WinClose |P Closes window]
  499. WinClose [, WinTitle, WinText, SecondsToWait, ExcludeTitle, ExcludeText]
  500. [WinGetActiveStats |P WinGetActiveTitle and WinGetPos in one command]
  501. WinGetActiveStats, Title, Width, Height, X, Y
  502. [WinGetActiveTitle |P title of active window]
  503. WinGetActiveTitle, OutputVar
  504. [WinGetClass |P Retrieves window's class name]
  505. WinGetClass, OutputVar [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  506. [WinGet |P Retrieves window's ID, process ID/Name, or list of its controls. Can retrieve list of windows matching specified criteria]
  507. WinGet, OutputVar [, Cmd, WinTitle, WinText, ExcludeTitle, ExcludeText]
  508. [WinGetPos |P Retrieves position & size of given window]
  509. WinGetPos [, X, Y, Width, Height, WinTitle, WinText, ExcludeTitle, ExcludeText]
  510. [WinGetText |P Retrieves text from window]
  511. WinGetText, OutputVar [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  512. [WinGetTitle |P Retrieves title of window]
  513. WinGetTitle, OutputVar [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  514. [WinHide |P Hides window]
  515. WinHide [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  516. [WinKill |P Forces window to close]
  517. WinKill [, WinTitle, WinText, SecondsToWait, ExcludeTitle, ExcludeText]
  518. [WinMaximize |P Enlarges window to its Max size]
  519. WinMaximize [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  520. [WinMinimize |P Collapses window into button on taskbar]
  521. WinMinimize [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  522. [WinMinimizeAll |P all windows]
  523. WinMinimizeAll
  524. [WinMinimizeAllUndo |P effect of previous WinMinimizeAll]
  525. WinMinimizeAllUndo
  526. [WinMove |P Changes position and/or size of window]
  527. WinMove, WinTitle, WinText, X, Y [, Width, Height, ExcludeTitle, ExcludeText]
  528. [WinRestore |P Unminimizes or unmaximizes]
  529. WinRestore [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  530. [WinSet |P Makes window always on top, transparent, or other changes]
  531. WinSet, Attribute, Value [, WinTitle, WinText,  ExcludeTitle, ExcludeText]
  532. [WinSetTitle |P Changes title of window]
  533. WinSetTitle, WinTitle, WinText, NewTitle [, ExcludeTitle, ExcludeText]
  534. [WinShow |P Unhides hidden window]
  535. WinShow [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  536. [WinWait |P until specified window exists]
  537. WinWait, WinTitle, WinText, Seconds [, ExcludeTitle, ExcludeText]
  538. [WinWaitActive |P until specified window is active]
  539. WinWaitActive [, WinTitle, WinText, Seconds, ExcludeTitle, ExcludeText]
  540. [WinWaitClose |P until specified window does not exist]
  541. WinWaitClose, WinTitle, WinText, Seconds [, ExcludeTitle, ExcludeText]
  542. [WinWaitNotActive |P until specified window is not active]
  543. WinWaitNotActive [, WinTitle, WinText, Seconds, ExcludeTitle, ExcludeText]
  544. ;
  545. ;
  546. ; --------------------------------------------------------------------
  547. ;                             Directives
  548. ; --------------------------------------------------------------------
  549. [Directives |B Change directives]
  550. ;;;; Directives, required by this script (do not change)
  551. %AllowSameLineComments%
  552. %CommentFlag%
  553. %ErrorStdOut%
  554. %EscapeChar%
  555. %HotkeyInterval%
  556. %HotkeyModifierTimeout%
  557. %Hotstring%
  558. %InstallKeybdHook%
  559. %InstallMouseHook%
  560. %MaxHotkeysPerInterval%
  561. %MaxMem%
  562. %MaxThreads%
  563. %MaxThreadsBuffer%
  564. %MaxThreadsPerHotkey%
  565. %NoTrayIcon%
  566. %Persistent%
  567. %SingleInstance%
  568. %UseHook%
  569. %WinActivateForce%
  570.  
  571. [AllowSameLineComments |B Only for use in .aut files]
  572. %AllowSameLineComments%
  573.  
  574. [CommentFlag |B Changes script's comment symbol]
  575. %CommentFlag%
  576.  
  577. [ErrorStdOut |B Sends any syntax error]
  578. %ErrorStdOut%
  579.  
  580. [EscapeChar |B Changes script's escape character]
  581. %EscapeChar%
  582.  
  583. [HotkeyInterval |B rate of hotkey activations]
  584. %HotkeyInterval%
  585.  
  586. [HotkeyModifierTimeout |B behavior of hotkey modifiers: CTRL, ALT, WIN, & SHIFT]
  587. %HotkeyModifierTimeout%
  588.  
  589. [Hotstring |B Changes hotstring options or ending characters]
  590. %Hotstring%
  591.  
  592. [Include |B Include external file]
  593. %Include%
  594.  
  595. [IncludeAgain |B Include external file again]
  596. %IncludeAgain%
  597.  
  598. [InstallKeybdHook |B Unconditional installation of keyboard hook]
  599. %InstallKeybdHook%
  600.  
  601. [InstallMouseHook |B Unconditional installation of mouse hook]
  602. %InstallMouseHook%
  603.  
  604. [MaxHotkeysPerInterval |B Rate of hotkey activations]
  605. %MaxHotkeysPerInterval%
  606.  
  607. [MaxMem |B Max capacity of each var, in megabytes]
  608. %MaxMem%
  609.  
  610. [MaxThreads |B Max number of simultaneous threads]
  611. %MaxThreads%
  612.  
  613. [MaxThreadsBuffer |B Causes hotkeys to buffer]
  614. %MaxThreadsBuffer%
  615.  
  616. [MaxThreadsPerHotkey |B Max number of simultaneous threads per hotkey]
  617. %MaxThreadsPerHotkey%
  618.  
  619. [NoTrayIcon |B Disables showing of tray icon]
  620. %NoTrayIcon%
  621.  
  622. [Persistent |B Keeps non-hotkey script permanently running]
  623. %Persistent%
  624. [SingleInstance |B More than one instance of script]
  625. %SingleInstance%
  626.  
  627. [UseHook |B Forces use of hook to implement keyboard hotkeys]
  628. %UseHook%
  629.  
  630. [WinActivateForce |B Skip gentle method, go straight to forceful method]
  631. %WinActivateForce%
  632.  
  633. ;
  634. ;
  635. ; --------------------------------------------------------------------
  636. ;                     Misc. & Unsorted Commands
  637. ; --------------------------------------------------------------------
  638. [Abs |F Absolute value]
  639. Abs(Number)
  640. [ACos |]
  641. ACos(Number)
  642. [ASin |]
  643. ASin(Number)
  644. [ATan |]
  645. ATan(Number)
  646. [Cos |]
  647. Cos(Number)
  648. [Sin |]
  649. Sin(Number)
  650. [Tan |]
  651. Tan(Number)
  652. [Asc |F ASCII code of a first char in string]
  653. Asc(String)
  654. [AutoTrim | Whether SetEnv & var = remove spaces & tabs]
  655. AutoTrim, %onoff%
  656. [Break | Exits (terminates) loop. Valid only inside loop]
  657. Break
  658. [Chr |F Get character that corresponds to ASCII code]
  659. Chr(Number)
  660. [Ceil |F Rounds up to nearest integer]
  661. Ceil(Number)
  662. [ClipWait | Waits until clipboard contains data]
  663. ClipWait [, SecondsToWait, 1]
  664. [Continue | Skips rest of current loop iteration & begins new one]
  665. Continue
  666. [CoordMode | Sets coordinate mode]
  667. CoordMode, ToolTip|Pixel|Mouse [, Screen|Relative]
  668. [Edit | Opens current script for editing in associated editor]
  669. Edit
  670. [Else | Specifies command to perform IF-command = FALSE]
  671. Else
  672. [EnvAdd |Var += Value]
  673. EnvAdd, Var, Value [, TimeUnits]
  674. [EnvDiv | var /= value]
  675. EnvDiv, Var, Value  
  676. [EnvMult | var *= value]
  677. EnvMult, Var, Value 
  678. [EnvSub | var -= value]
  679. EnvSub, Var, Value [, TimeUnits]
  680. [EnvUpdate | Notifies OS that environment variables have changed]
  681. EnvUpdate
  682. [Exp | "e" raised to a power]
  683. Exp(Number)
  684. [Floor |F Rounds down to nearest integer]
  685. Floor(Number)
  686. [Gosub | Jumps to label]
  687. Gosub, Label
  688. [Goto | Jumps to label]
  689. Goto, Label
  690. [Break | Exits loop]
  691. Break
  692. [Continue | Skips rest of current loop iteration and begins new one]
  693. Continue
  694. [If Else | Compares a variable to a value]
  695. if var = Value | IfWinExist, WinTitle | etc.
  696. {
  697.     command1
  698.     command2
  699. }
  700. else
  701. {
  702.     command1
  703.     command2
  704. }
  705. [Loop | Perform a series of commands repeatedly]
  706. Loop [, Count]
  707. {
  708.     If var%a_index% = 
  709.         break
  710. }
  711. [Loop (registry) | Retrieves contents of registry subkey]
  712. Loop, HKLM|HKU|HKCU|HKCR|HKCC [, Key, IncludeSubkeys?, Recurse?]
  713. {
  714.     MsgBox The current value or subkey is %A_LoopRegName% and its type is %A_LoopRegType%.
  715. }
  716. [ImageSearch | Searches a region of the screen for an image]
  717. ImageSearch, OutputVarX, OutputVarY, X1, Y1, X2, Y2, ImageFile
  718. [Ln |]
  719. Ln(Number)
  720. [Log |]
  721. Log(Number)
  722. [ListLines | Displays script lines most recently executed]
  723. ListLines
  724. [ListVars | Displays script's variables and value]
  725. ListVars
  726. [Mod |F Find remainder]
  727. Mod(Dividend, Divisor)
  728. [PixelGetColor | Color of pixel at specified x, y screen coordinates]
  729. PixelGetColor, OutputVar, X, Y [, Alt|Slow|RGB]
  730. [PixelSearch | Searches screen for pixel of color(s)]
  731. PixelSearch, OutputVarX, OutputVarY, X1, Y1, X2, Y2, ColorID [, variation, Fast|RGB]
  732. [Round |F Rounds off a number]
  733. Round(Number [, Places])
  734. [Random | Generates pseudo-random number]
  735. Random, OutputVar [, Min, Max]
  736. [RegDelete | Deletes subkey or value from registry]
  737. RegDelete, %RootKey%, |SubKey [, ValueName]
  738. [RegRead | Reads value from registry]
  739. RegRead, |OutputVar, %RootKey%, SubKey [, ValueName]
  740. [RegWrite | Writes value to registry]
  741. RegWrite, %ValueType%, %RootKey%, |SubKey [, ValueName, Value]
  742. [Return | Returns from subroutine]
  743. Return [, Expression]
  744. [SetBatchLines | how fast script will run (affects CPU utilization)]
  745. SetBatchLines, -1 | 20ms | LineCount
  746. [SetTimer | Causes subroutine launch at specified time interval]
  747. SetTimer, %label% , [%onoff%, Priority]
  748. [SoundBeep | Emits a tone from the PC speaker]
  749. SoundBeep [, Frequency, Duration]
  750. [SoundGet | Retrieves various settings from sound device]
  751. SoundGet, OutputVar [, ComponentType, ControlType, DeviceNumber]
  752. [SoundGetWaveVolume | wave output volume from sound device]
  753. SoundGetWaveVolume, OutputVar [, DeviceNumber]
  754. [SoundPlay | Plays sound, video, or other supported file type]
  755. SoundPlay, %sound%, %wait%
  756. [SoundSet | Changes various settings of sound device]
  757. SoundSet, NewSetting [, ComponentType, ControlType, DeviceNumber]
  758. [SoundSetWaveVolume | wave output volume for sound device]
  759. SoundSetWaveVolume, Percent [, DeviceNumber]
  760. [Sqrt |]
  761. Sqrt(Number)
  762. [SysGet | Retrieves screen info & system properties]
  763. SysGet, OutputVar, Sub-command [, Param3] 
  764. [Critical | Prevents the current thread from being interrupted]
  765. Critical [, Off]
  766. [Thread | Disables timesr or sets priority/interruptibility of threads]
  767. Thread, Setting, P2 [, P3]
  768. [Transform | Performs miscellaneous math functions]
  769. Transform, OutputVar, Cmd, Value1 [, Value2]
  770. [URLDownloadToFile | file from Internet]
  771. URLDownloadToFile, URL, Filename
  772. [VarSetCapacity | Shrinks or enlarges a variable]
  773. GrantedCapacity := VarSetCapacity(Var [, RequestedCapacity, FillByte])
  774. ;
  775. ;
  776. ; --------------------------------------------------------------------
  777. ;                              Keywords
  778. ; --------------------------------------------------------------------
  779. [Keywords]
  780. A_AhkPath
  781. A_AhkVersion
  782. A_AppData
  783. A_AppDataCommon
  784. A_Temp
  785. A_AutoTrim
  786. A_BatchLines
  787. A_CaretX
  788. A_CaretY
  789. A_ComputerName
  790. A_ControlDelay
  791. A_CURSOR
  792. A_DD
  793. A_DDD
  794. A_DDDD
  795. A_DefaultMouseSpeed
  796. A_Desktop
  797. A_DesktopCommon
  798. A_DetectHiddenText
  799. A_DetectHiddenWindows
  800. A_EndChar
  801. A_EventInfo
  802. A_ExitReason
  803. A_FormatFloat
  804. A_FormatInteger
  805. A_Gui
  806. A_GuiEvent
  807. A_GuiControl
  808. A_GuiControlEvent
  809. A_GuiHeight
  810. A_GuiWidth
  811. A_GuiX
  812. A_GuiY
  813. A_HOUR
  814. A_IconFile
  815. A_IconHidden
  816. A_IconNumber
  817. A_IconTip
  818. A_INDEX
  819. A_IPADDRESS1
  820. A_IPADDRESS2
  821. A_IPADDRESS3
  822. A_IPADDRESS4
  823. A_ISADMIN
  824. A_IsCompiled
  825. A_IsSuspended
  826. A_KeyDelay
  827. A_Language
  828. A_LastError
  829. A_LineFile
  830. A_LineNumber
  831. A_LOOPFIELD
  832. A_LOOPFILEATTRIB
  833. A_LOOPFILEDIR
  834. A_LoopFileExt
  835. A_LOOPFILEFULLPATH
  836. A_LoopFileLongPath
  837. A_LOOPFILENAME
  838. A_LOOPFILESHORTNAME
  839. A_LoopFileShortPath
  840. A_LOOPFILESIZE
  841. A_LOOPFILESIZEKB
  842. A_LOOPFILESIZEMB
  843. A_LOOPFILETIMEACCESSED
  844. A_LOOPFILETIMECREATED
  845. A_LOOPFILETIMEMODIFIED
  846. A_LOOPREADLINE
  847. A_LOOPREGKEY
  848. A_LOOPREGNAME
  849. A_LOOPREGSUBKEY
  850. A_LOOPREGTIMEMODIFIED
  851. A_LOOPREGTYPE
  852. A_MDAY
  853. A_Min
  854. A_MM
  855. A_MMM
  856. A_MMMM
  857. A_Mon
  858. A_MouseDelay
  859. A_MSec
  860. A_MyDocuments
  861. A_Now
  862. A_NowUTC
  863. A_NUMBATCHLINES
  864. A_OSTYPE
  865. A_OSVERSION
  866. A_PRIORHOTKEY
  867. ProgramFiles
  868. A_ProgramFiles
  869. A_Programs
  870. A_ProgramsCommon
  871. A_ScreenHeight
  872. A_ScreenWidth
  873. A_SCRIPTDIR
  874. A_SCRIPTFULLPATH
  875. A_SCRIPTNAME
  876. A_SEC
  877. A_SPACE
  878. A_StartMenu
  879. A_StartMenuCommon
  880. A_Startup
  881. A_StartupCommon
  882. A_StringCaseSense
  883. A_TAB
  884. A_Temp
  885. A_THISHOTKEY
  886. A_ThisMenu
  887. A_ThisMenuItem
  888. A_ThisMenuPos
  889. A_TICKCOUNT
  890. A_TIMEIDLE
  891. A_TIMEIDLEPHYSICAL
  892. A_TIMESINCEPRIORHOTKEY
  893. A_TIMESINCETHISHOTKEY
  894. A_TitleMatchMode
  895. A_TitleMatchModeSpeed
  896. A_UserName
  897. A_WDAY
  898. A_WinDelay
  899. A_WinDir
  900. A_WORKINGDIR
  901. A_YDAY
  902. A_YEAR
  903. A_YWeek
  904. A_YYYY
  905. ALT
  906. ALTDOWN
  907. ALTUP
  908. APPSKEY
  909. ASC
  910. BACKSPACE
  911. {BLIND}
  912. {RAW}
  913. BS
  914. Capslock
  915. Clipboard
  916. ClipboardAll
  917. ComSpec
  918. True
  919. False
  920. CONTROL
  921. CTRL
  922. CTRLBREAK
  923. CTRLDOWN
  924. CTRLUP
  925. DEL
  926. DELETE
  927. DOWN
  928. END
  929. ENTER
  930. ERRORLEVEL
  931. ESC
  932. ESCAPE
  933. F1
  934. F10
  935. F11
  936. F12
  937. F13
  938. F14
  939. F15
  940. F16
  941. F17
  942. F18
  943. F19
  944. F2
  945. F20
  946. F21
  947. F22
  948. F23
  949. F24
  950. F3
  951. F4
  952. F5
  953. F6
  954. F7
  955. F8
  956. F9
  957. HOME
  958. INS
  959. INSERT
  960. Joy1
  961. Joy10
  962. Joy11
  963. Joy12
  964. Joy13
  965. Joy14
  966. Joy15
  967. Joy16
  968. Joy17
  969. Joy18
  970. Joy19
  971. Joy2
  972. Joy20
  973. Joy21
  974. Joy22
  975. Joy23
  976. Joy24
  977. Joy25
  978. Joy26
  979. Joy27
  980. Joy28
  981. Joy29
  982. Joy3
  983. Joy30
  984. Joy31
  985. Joy32
  986. Joy4
  987. Joy5
  988. Joy6
  989. Joy7
  990. Joy8
  991. Joy9
  992. JoyAxes
  993. JoyButtons
  994. JoyInfo
  995. JoyName
  996. JoyPOV
  997. JoyR
  998. JoyU
  999. JoyV
  1000. JoyX
  1001. JoyY
  1002. JoyZ
  1003. LALT
  1004. LButton
  1005. LCONTROL
  1006. LCTRL
  1007. LEFT
  1008. LSHIFT
  1009. LWIN
  1010. LWINDOWN
  1011. MButton
  1012. Numlock
  1013. NUMPAD0
  1014. NUMPAD1
  1015. NUMPAD2
  1016. NUMPAD3
  1017. NUMPAD4
  1018. NUMPAD5
  1019. NUMPAD6
  1020. NUMPAD7
  1021. NUMPAD8
  1022. NUMPAD9
  1023. NUMPADADD
  1024. NUMPADCLEAR
  1025. NUMPADDEL
  1026. NUMPADDIV
  1027. NUMPADDOT
  1028. NUMPADDOWN
  1029. NUMPADEND
  1030. NUMPADENTER
  1031. NUMPADHOME
  1032. NUMPADINS
  1033. NUMPADLEFT
  1034. NUMPADMULT
  1035. NUMPADPGDN
  1036. NUMPADPGUP
  1037. NUMPADRIGHT
  1038. NUMPADSUB
  1039. NUMPADUP
  1040. PAUSE
  1041. PGDN
  1042. PGUP
  1043. PRINTSCREEN
  1044. RALT
  1045. RButton
  1046. RCONTROL
  1047. RCTRL
  1048. RIGHT
  1049. RSHIFT
  1050. RWIN
  1051. RWINDOWN
  1052. ScrollLock
  1053. SHIFT
  1054. SHIFTDOWN
  1055. SHIFTUP
  1056. SPACE
  1057. TAB
  1058. UP
  1059. WheelDown
  1060. WheelUp
  1061. XButton1
  1062. XButton2
  1063. Browser_Back
  1064. Browser_Forward
  1065. Browser_Refresh
  1066. Browser_Stop
  1067. Browser_Search
  1068. Browser_Favorites
  1069. Browser_Home
  1070. Volume_Mute
  1071. Volume_Down
  1072. Volume_Up
  1073. Media_Next
  1074. Media_Prev
  1075. Media_Stop
  1076. Media_Play_Pause
  1077. Launch_Mail
  1078. Launch_Media
  1079. Launch_App1
  1080. Launch_App2
  1081. ; Used with CoordMode or PixelXXX commands:
  1082. PIXEL
  1083. MOUSE
  1084. SCREEN
  1085. RELATIVE
  1086. RGB
  1087. ; Used with SetFormat and/or "if Var is [not] type" & BETWEEN/IN
  1088. Between
  1089. In
  1090. Integer
  1091. Float
  1092. Number
  1093. Digit
  1094. Xdigit
  1095. Alpha
  1096. Upper
  1097. Lower
  1098. Alnum
  1099. Time
  1100. Date
  1101. ; Omitted because it's a key name too: SPACE
  1102. ; Used with Drive/DriveGet and/or WinGet/WinSet:
  1103. AlwaysOnTop
  1104. Topmost
  1105. Bottom
  1106. Transparent
  1107. TransColor
  1108. Redraw
  1109. Region
  1110. ID
  1111. IDLast
  1112. ProcessName
  1113. MinMax
  1114. ControlList
  1115. Count
  1116. List
  1117. Capacity
  1118. StatusCD
  1119. Eject
  1120. Lock
  1121. Unlock
  1122. Label
  1123. FileSystem
  1124. Label
  1125. SetLabel
  1126. Serial
  1127. Type
  1128. Status
  1129. ; Time units for use with addition and subtraction:
  1130. Seconds
  1131. Minutes
  1132. Hours
  1133. Days
  1134. static
  1135. global
  1136. local
  1137. ByRef
  1138. ; For use with the Loop command:
  1139. Read
  1140. Parse
  1141. ; A_ExitReason
  1142. Logoff
  1143. Close
  1144. Error
  1145. Single
  1146. ; The following are Commented out because they are already a keywords due to being a commands:
  1147. ;Shutdown
  1148. ;Menu
  1149. ;Exit
  1150. ;Reload
  1151. ; Keywords used with the "menu" command:
  1152. Tray
  1153. Add
  1154. Rename
  1155. Check
  1156. UnCheck
  1157. ToggleCheck
  1158. Enable
  1159. Disable
  1160. ToggleEnable
  1161. Default
  1162. NoDefault
  1163. Standard
  1164. NoStandard
  1165. Color
  1166. Delete
  1167. DeleteAll
  1168. Icon
  1169. NoIcon
  1170. Tip
  1171. Click
  1172. Show
  1173. MainWindow
  1174. NoMainWindow
  1175. UseErrorLevel
  1176. ;Keywords used with GUI:
  1177. Font
  1178. Resize
  1179. Owner
  1180. Submit
  1181. NoHide
  1182. Minimize
  1183. Maximize
  1184. Restore
  1185. NoActivate
  1186. NA
  1187. Cancel
  1188. Destroy
  1189. Center
  1190. Text
  1191. Picture
  1192. Pic
  1193. GroupBox
  1194. Button
  1195. Checkbox
  1196. Radio
  1197. DropDownList
  1198. DDL
  1199. ComboBox
  1200. ListBox
  1201. ListView
  1202. TreeView
  1203. DateTime
  1204. MonthCal
  1205. UpDown
  1206. Slider
  1207. Tab
  1208. StatusBar
  1209. ; Note that Edit, Progress and Hotkey aren't included since they are already command keywords.
  1210. TabStop
  1211. Section
  1212. AltSubmit
  1213. Wrap
  1214. HScroll
  1215. VScroll
  1216. Border
  1217. Top
  1218. Bottom
  1219. Buttons
  1220. Expand
  1221. First
  1222. ImageList
  1223. Lines
  1224. WantCtrlA
  1225. WantF2
  1226. Vis
  1227. VisFirst
  1228. Number
  1229. Uppercase
  1230. Lowercase
  1231. Limit
  1232. Password
  1233. Multi
  1234. WantReturn
  1235. Group
  1236. Background
  1237. Theme
  1238. Caption
  1239. Delimiter
  1240. MinimizeBox
  1241. MaximizeBox
  1242. SysMenu
  1243. ToolWindow
  1244. Flash
  1245. Style
  1246. ExStyle
  1247. Check3
  1248. Checked
  1249. CheckedGray
  1250. ReadOnly
  1251. Password
  1252. Hidden
  1253. Left
  1254. Right
  1255. Center
  1256. NoTab
  1257. Section
  1258. Move
  1259. Focus
  1260. Hide
  1261. Choose
  1262. ChooseString
  1263. Text
  1264. Pos
  1265. Enabled
  1266. Disabled
  1267. Visible
  1268. LastFound
  1269. LastFoundExist
  1270. ; Already included with menu:
  1271. ;Show
  1272. ;Menu
  1273. ;Color
  1274. ;Edit
  1275. ;Default
  1276. ;Enable
  1277. ;Disable
  1278. ;Default
  1279. ; Keywords used with the Hotkey command:
  1280. AltTab
  1281. ShiftAltTab
  1282. AltTabMenu
  1283. AltTabAndMenu
  1284. AltTabMenuDismiss
  1285. ; Keywords used with the Transform command:
  1286. Unicode
  1287. Asc
  1288. Chr
  1289. Deref
  1290. Mod
  1291. Pow
  1292. Exp
  1293. Sqrt
  1294. Log
  1295. Ln
  1296. Round
  1297. Ceil
  1298. Floor
  1299. Abs
  1300. Sin
  1301. Cos
  1302. Tan
  1303. ASin
  1304. ACos
  1305. ATan
  1306. BitNot
  1307. BitAnd
  1308. BitOr
  1309. BitXOr
  1310. BitShiftLeft
  1311. BitShiftRight
  1312. ; Keywords used with "IfMsgBox":
  1313. Yes
  1314. No
  1315. Ok
  1316. Cancel
  1317. Abort
  1318. Retry
  1319. Ignore
  1320. ; Misc:
  1321. true
  1322. false
  1323. ; Registry root keys:
  1324. HKEY_LOCAL_MACHINE
  1325. HKEY_USERS
  1326. HKEY_CURRENT_USER
  1327. HKEY_CLASSES_ROOT
  1328. HKEY_CURRENT_CONFIG
  1329. HKLM
  1330. HKU
  1331. HKCU
  1332. HKCR
  1333. HKCC
  1334. ; Registry value types:
  1335. REG_SZ
  1336. REG_EXPAND_SZ
  1337. REG_MULTI_SZ
  1338. REG_DWORD
  1339. REG_BINARY
  1340. ; Window Management:
  1341. ahk_id
  1342. ahk_pid
  1343. ahk_class
  1344. ahk_group