Skip to content

Commit

Permalink
Update AutoHotkey function list to AutoHotkey 2.0.11.
Browse files Browse the repository at this point in the history
  • Loading branch information
zufuliu committed Mar 3, 2024
1 parent 4e05bfb commit f9fcb64
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/EditLexers/stlAutoHotkey.c
Expand Up @@ -95,7 +95,7 @@ static KEYWORDLIST Keywords_AHK = {{
"MouseClick MouseClickDrag MouseGetPos MouseMove Move( MsgBox MsgBox( "
"Number( NumGet( NumPut "
"ObjAddRef( ObjGetBase( ObjGetCapacity( ObjOwnPropCount( ObjRelease( ObjSetBase( ObjSetCapacity( "
"OnClipboardChange OnEvent( OnMessage OnNotify( Opt( Ord( OutputDebug OwnProps( "
"OnClipboardChange OnCommand( OnEvent( OnMessage OnNotify( Opt( Ord( OutputDebug OwnProps( "
"Persistent PixelGetColor( PixelSearch Pop( PostMessage ProcessClose ProcessExist( "
"ProcessGetName( ProcessGetParent( ProcessGetPath( ProcessSetPriority ProcessWait( ProcessWaitClose( Push( "
"Random( RawRead( RawWrite( Read( ReadLine( Redraw( "
Expand Down Expand Up @@ -124,7 +124,7 @@ static KEYWORDLIST Keywords_AHK = {{
"Else Enabled Encoding EndChars Exit False Files Finally Focused FocusedCtrl For Force Global Goto "
"HKCU HKEY_CLASSES_ROOT HKEY_CURRENT_CONFIG HKEY_CURRENT_USER HKEY_LOCAL_MACHINE HKEY_USERS HKLM Handle Hwnd "
"If Ignore IsBuiltIn IsVariadic Join LTrim Len Length Local Loop MarginX MarginY Mark MaxParams MinParams Name NoMouse "
"Off Parse Pos Prompt Ptr "
"Off On Parse Pos Prompt Ptr "
"REG_BINARY REG_DWORD REG_DWORD_BIG_ENDIAN REG_EXPAND_SZ REG_FULL_RESOURCE_DESCRIPTOR REG_LINK REG_MULTI_SZ REG_QWORD "
"REG_RESOURCE_LIST REG_RESOURCE_REQUIREMENTS_LIST REG_SZ RTrim Read Reg Reload Return "
"Size Static Suspend Switch Thread Throw Title True Try Type Until Value Visible While "
Expand Down
24 changes: 14 additions & 10 deletions tools/lang/AutoHotkey_L.ahk
@@ -1,4 +1,4 @@
; 2.0.2 https://www.autohotkey.com/docs/v2/
; 2.0.11 https://www.autohotkey.com/docs/v2/
; https://github.com/Lexikos/AutoHotkey_L-Docs.git

;! keywords ===========================================================
Expand Down Expand Up @@ -26,7 +26,7 @@ this
Break [LoopLabel]
Catch [ErrorClass] [as OutputVar]
Continue [LoopLabel]
Critical [OnOffNumeric]
Critical [On Off Numeric]
Else Statement
Exit [ExitCode]
ExitApp [ExitCode]
Expand All @@ -39,14 +39,14 @@ Loop Files FilePattern [, Mode]
Loop Parse String [, Delimiters, OmitChars]
Loop Read InputFile [, OutputFile]
Loop Reg KeyName [, Mode]
OnError Function [, AddRemove]
OnExit Function [, AddRemove]
OnError Callback [, AddRemove]
OnExit Callback [, AddRemove]
Pause [NewState]
Reload
Return [Expression]
SetTimer [Function, Period, Priority]
Sleep DelayInMilliseconds
Suspend [Mode]
Sleep Delay
Suspend [NewState]
Switch [SwitchValue, CaseSense]
Case CaseValue1:
Case CaseValue2a, CaseValue2b:
Expand Down Expand Up @@ -86,7 +86,7 @@ While Expression
/*@Ahk2Exe-Keep */
/*@Ahk2Exe-IgnoreBegin */
/*@Ahk2Exe-IgnoreEnd */
/*@Ahk2Exe-AddResource FileName , ResourceName */
/*@Ahk2Exe-AddResource FileName [, ResourceName] */
/*@Ahk2Exe-Bin [Path\]Name , [Exe_path\][Name], Codepage */
/*@Ahk2Exe-Base [Path\]Name , [Exe_path\][Name], Codepage */
/*@Ahk2Exe-ConsoleApp */
Expand Down Expand Up @@ -346,7 +346,7 @@ ClipboardAll([Data, Size])
ClipWait [Timeout, WaitForAnyData]
EnvGet(EnvVarName)
EnvSet EnvVar, Value
OnClipboardChange Function [, AddRemove]
OnClipboardChange Callback [, AddRemove]
SysGet(Property)
SysGetIPAddresses()
Expand Down Expand Up @@ -423,7 +423,10 @@ LoadPicture(Filename [, Options, &ImageType])
MenuFromHandle(Handle)
MsgBox [Text, Title, Options]
MsgBox([Text, Title, Options])
OnCommand(NotifyCode, Callback , AddRemove)
OnEvent(EventName, Callback , AddRemove)
OnMessage MsgNumber [, Function, MaxThreads]
OnNotify(NotifyCode, Callback , AddRemove)
ToolTip [Text, X, Y, WhichToolTip]
TraySetIcon([FileName, IconNumber, Freeze])
TrayTip [Text, Title, Options]
Expand Down Expand Up @@ -473,7 +476,7 @@ Hotstring("EndChars" [, NewValue])
Hotstring("MouseReset" [, NewValue])
Hotstring "Reset"
ListHotkeys
Suspend [Mode]
Suspend [NewState]
BlockInput OnOff
BlockInput SendMouse
BlockInput MouseMove
Expand Down Expand Up @@ -794,6 +797,7 @@ Delete([Value])
Focus()
GetPos([X, Y, Width, Height])
Move([X, Y, Width, Height])
OnCommand(NotifyCode, Callback , AddRemove)
OnEvent(EventName, Callback [, AddRemove := 1])
OnNotify(NotifyCode, Callback [, AddRemove := 1])
Opt(Options)
Expand Down Expand Up @@ -890,7 +894,7 @@ Any
;! Misc ===========================================================
; Directives
NoMouse EndChars
Force Ignore Prompt Off
Force Ignore Prompt On Off
; Properties
; Array
Expand Down

0 comments on commit f9fcb64

Please sign in to comment.