home *** CD-ROM | disk | FTP | other *** search
- !TCL=1, AutoHotKey Clip Library for TextPad, by Rajat
- !TITLE=AutoHotKey Script Commands
- !SORT=Y
- !TEXT=ClipWait
- ClipWait [, SecondsToWait]
- !
- !TEXT=EnvUpdate
- EnvUpdate
- !
- !TEXT=DriveSpaceFree
- DriveSpaceFree, OutputVar, C:\
- !
- !TEXT=FileAppend
- FileAppend, Text`n, Filename
- !
- !TEXT=FileCopy
- FileCopy, Source, Dest [, Flag (1 = overwrite)]
- !
- !TEXT=FileCreateDir
- FileCreateDir, Path
- !
- !TEXT=FileCreateShortcut
- FileCreateShortcut, Target, C:\MyShortcut.lnk [, WorkingDir, Args, Description, IconFile, ShortcutKey]
- !
- !TEXT=FileDelete
- FileDelete, Path
- !
- !TEXT=FileRecycle
- FileRecycle, Path
- !
- !TEXT=FileRecycleEmpty
- FileRecycleEmpty [, C:\]
- !
- !TEXT=FileGetAttrib
- FileGetAttrib, OutputVar [, Filename]
- !
- !TEXT=FileGetSize
- FileGetSize, OutputVar [, Filename, Units]
- !
- !TEXT=FileGetTime
- FileGetTime, OutputVar [, Filename, WhichTime (M, C, or A -- default is M)]
- !
- !TEXT=FileGetVersion
- FileGetVersion, OutputVar [, Filename]
- !
- !TEXT=FileInstall
- FileInstall, Source, Dest, Flag (1 = overwrite)
- !
- !TEXT=FileMove
- FileMove, Source, Dest [, Flag (1 = overwrite)]
- !
- !TEXT=FileMoveDir
- FileMoveDir, Source, Dest [, Flag (1 = overwrite)]
- !
- !TEXT=FileReadLine
- FileReadLine, OutputVar, Filename, LineNum
- !
- !TEXT=FileRemoveDir
- FileRemoveDir, Path [, Recurse? (1 = yes)]
- !
- !TEXT=FileSelectFile
- FileSelectFile, OutputVar [, Options, RootDir[\DefaultFilename], Prompt, Filter]
- !
- !TEXT=FileSelectFolder
- FileSelectFolder, OutputVar [, RootDir, Options, Prompt]
- !
- !TEXT=FileSetAttrib
- FileSetAttrib, Attributes [, FilePattern, OperateOnFolders?, Recurse?]
- !
- !TEXT=FileSetTime
- FileSetTime [, YYYYMMDDHH24MISS, FilePattern, WhichTime (M|C|A), OperateOnFolders?, Recurse?]
- !
- !TEXT=IfExist
- IfExist, File|Dir|Pattern
- !
- !TEXT=IfNotExist
- IfNotExist, File|Dir|Pattern
- !
- !TEXT=IniDelete
- IniDelete, Filename, Section, Key
- !
- !TEXT=IniRead
- IniRead, OutputVar, Filename, Section, Key [, Default]
- !
- !TEXT=IniWrite
- IniWrite, Value, Filename, Section, Key
- !
- !TEXT=Break
- Break
- !
- !TEXT=Continue
- Continue
- !
- !TEXT=If Else
- if Var = Value | IfWinExist, WinTitle | etc.
- {
- command1
- command2
- }
- else
- {
- command1
- command2
- }
- !
- !TEXT=Gosub
- Gosub, Label
- !
- !TEXT=Goto
- Goto, Label
- !
- !TEXT=Loop
- Loop [, Count]
- {
- command1
- command2
- }
- !
- !TEXT=Loop (files & folders)
- Loop, FilePattern [, IncludeFolders?, Recurse?]
- {
- command1
- command2
- }
- !
- !TEXT=Loop (parse a string)
- Loop, Parse, InputVar [, Delimiters|CSV, OmitChars]
- {
- command1
- command2
- }
- !
- !TEXT=Loop (read file contents)
- Loop, Read, InputFile [, OutputFile]
- {
- command1
- command2
- }
- !
- !TEXT=Loop (registry)
- Loop, HKLM|HKU|HKCU|HKCR|HKCC [, Key, IncludeSubkeys?, Recurse?]
- {
- command1
- command2
- }
- !
- !TEXT=Return
- Return
- !
- !TEXT=SetBatchLines
- SetBatchLines, 10ms ; The recommended setting for most scripts.
- !
- !TEXT=#MaxThreads
- #MaxThreads Value
- !
- !TEXT=#MaxThreadsBuffer
- #MaxThreadsBuffer On|Off
- !
- !TEXT=#MaxThreadsPerHotkey
- #MaxThreadsPerHotkey Value
- !
- !TEXT=#UseHook
- #UseHook [On|Off]
- !
- !TEXT=ListHotkeys
- ListHotkeys
- !
- !TEXT=Pause
- Pause [, On|Off|Toggle]
- !
- !TEXT=Suspend
- Suspend [, On|Off|Toggle|Permit]
- !
- !TEXT=ControlSend
- ControlSend [, Control, Keys, WinTitle, WinText, ExcludeTitle, ExcludeText]
- !
- !TEXT=GetKeyState
- GetKeyState, OutputVar, WhichKey [, Mode (P|T)]
- !
- !TEXT=KeyHistory
- KeyHistory
- !
- !TEXT=Send
- Send, Sample Text{enter}{tab 2}+{tab}^c!f
- !
- !TEXT=SetKeyDelay
- SetKeyDelay, Delay
- !
- !TEXT=SetCapsLockState
- SetCapsLockState, On|Off|AlwaysOn|AlwaysOff
- !
- !TEXT=SetNumLockState
- SetNumLockState, On|Off|AlwaysOn|AlwaysOff
- !
- !TEXT=SetScrollLockState
- SetScrollLockState, On|Off|AlwaysOn|AlwaysOff
- !
- !TEXT=SetStoreCapslockMode
- SetStoreCapslockMode, On|Off
- !
- !TEXT=EnvAdd
- Var += Value [, TimeUnits]
- !
- !TEXT=EnvDiv
- Var /= Value
- !
- !TEXT=EnvMult
- Var *= Value
- !
- !TEXT=EnvSub
- Var -= Value
- !
- !TEXT=IfEqual
- if Var = Value
- !
- !TEXT=IfNotEqual
- if Var <> Value
- !
- !TEXT=IfGreater
- if Var > Value
- !
- !TEXT=IfGreaterOrEqual
- if Var >= Value
- !
- !TEXT=IfLess
- if Var < Value
- !
- !TEXT=IfLessOrEqual
- if Var <= Value
- !
- !TEXT=IfInString
- IfInString, Var, SearchString
- !
- !TEXT=IfNotInString
- IfNotInString, Var, SearchString
- !
- !TEXT=SetEnv
- Var = Value
- !
- !TEXT=EnvSet
- EnvSet, EnvVar, Value
- !
- !TEXT=if Var is [not] type
- if Var is [not] type
- !
- !TEXT=Random
- Random, OutputVar [, Min, Max]
- !
- !TEXT=SetFormat
- SetFormat, float|integer, TotalWidth.DecimalPlaces|hex|d
- !
- !TEXT=IfMsgBox
- IfMsgBox, Yes|No|OK|Cancel|Abort|Ignore|Retry|Timeout
- !
- !TEXT=InputBox
- InputBox, OutputVar [, Title, Prompt, HIDE, Width, Height, X, Y, Font, Timeout, Default]
- !
- !TEXT=MsgBox
- MsgBox [, Options, Title, Text, Timeout]
- !
- !TEXT=SplashTextOn
- SplashTextOn [, Width, Height, Title, Text]
- !
- !TEXT=SplashTextOff
- SplashTextOff
- !
- !TEXT=#NoTrayIcon
- #NoTrayIcon
- !
- !TEXT=#Persistent
- #Persistent
- !
- !TEXT=#SingleInstance
- #SingleInstance [force]
- !
- !TEXT=AutoTrim
- AutoTrim, On|Off
- !
- !TEXT=BlockInput
- BlockInput, On|Off
- !
- !TEXT=Edit
- Edit
- !
- !TEXT=ListLines
- ListLines
- !
- !TEXT=ListVars
- ListVars
- !
- !TEXT=Menu
- Menu, Tray, Command [, MenuItemName, Param4]
- !
- !TEXT=PixelGetColor
- PixelGetColor, OutputVar, X, Y
- !
- !TEXT=PixelSearch
- PixelSearch, OutputVarX, OutputVarY, X1, Y1, X2, Y2, ColorID [, Variation]
- !
- !TEXT=Reload
- Reload
- !
- !TEXT=SetTimer
- SetTimer, Label [, Period|On|Off]
- !
- !TEXT=URLDownloadToFile
- URLDownloadToFile, URL, Filename
- !
- !TEXT=MouseClick
- MouseClick, WhichButton [, X, Y, ClickCount, Speed, Hold/Release?]
- !
- !TEXT=MouseClickDrag
- MouseClickDrag, WhichButton, X1, Y1, X2, Y2 [, Speed]
- !
- !TEXT=MouseGetPos
- MouseGetPos, OutputVarX, OutputVarY
- !
- !TEXT=MouseMove
- MouseMove, X, Y [, Speed]
- !
- !TEXT=RunAs
- RunAs [, User, Password, Domain]
- !
- !TEXT=WinSet
- WinSet, AlwaysOnTop|Trans, On|Off|Toggle|Value(0-255), [, WinTitle, WinText, ExcludeTitle, ExcludeText]
- !
- !TEXT=PostMessage
- PostMessage, Msg [, wParam, lParam, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
- !
- !TEXT=SendMessage
- SendMessage, Msg [, wParam, lParam, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
- !
- !TEXT=SetDefaultMouseSpeed
- SetDefaultMouseSpeed, Speed
- !
- !TEXT=SetMouseDelay
- SetMouseDelay, Delay
- !
- !TEXT=Exit
- Exit [, ExitCode]
- !
- !TEXT=ExitApp
- ExitApp [, ExitCode]
- !
- !TEXT=Run
- Run, Target [, WorkingDir, Max|Min|Hide]
- !
- !TEXT=Shutdown
- Shutdown, Code
- !
- !TEXT=Sleep
- Sleep, Delay
- !
- !TEXT=RegDelete
- RegDelete, HKLM|HKU|HKCU|HKCR|HKCC, SubKey [, ValueName]
- !
- !TEXT=RegRead
- RegRead, OutputVar, HKLM|HKU|HKCU|HKCR|HKCC, SubKey [, ValueName]
- !
- !TEXT=RegWrite
- RegWrite, ValueType, HKLM|HKU|HKCU|HKCR|HKCC, SubKey [, ValueName, Value]
- !
- !TEXT=SoundGet
- SoundGet, OutputVar [, ComponentType, ControlType, DeviceNumber]
- !
- !TEXT=SoundGetWaveVolume
- SoundGetWaveVolume, OutputVar [, DeviceNumber]
- !
- !TEXT=SoundPlay
- SoundPlay, Filename [, wait]
- !
- !TEXT=SoundSet
- SoundSet, NewSetting [, ComponentType, ControlType, DeviceNumber]
- !
- !TEXT=SoundSetWaveVolume
- SoundSetWaveVolume, Percent [, DeviceNumber]
- !
- !TEXT=StringCaseSense
- StringCaseSense, On|Off
- !
- !TEXT=StringGetPos
- StringGetPos, OutputVar, InputVar, SearchText [, Ln|Rn]
- !
- !TEXT=StringLeft
- StringLeft, OutputVar, InputVar, Count
- !
- !TEXT=StringRight
- StringRight, OutputVar, InputVar, Count
- !
- !TEXT=StringTrimLeft
- StringTrimLeft, OutputVar, InputVar, Count
- !
- !TEXT=StringTrimRight
- StringTrimRight, OutputVar, InputVar, Count
- !
- !TEXT=StringLen
- StringLen, OutputVar, InputVar
- !
- !TEXT=StringLower
- StringLower, OutputVar, InputVar [, T]
- !
- !TEXT=StringUpper
- StringUpper, OutputVar, InputVar [, T]
- !
- !TEXT=StringMid
- StringMid, OutputVar, InputVar, StartChar, Count
- !
- !TEXT=StringReplace
- StringReplace, OutputVar, InputVar, SearchText [, ReplaceText, All]
- !
- !TEXT=StringSplit
- StringSplit, OutputArray, InputVar [, Delimiters, OmitChars]
- !
- !TEXT=#AllowSameLineComments
- #AllowSameLineComments
- !
- !TEXT=#CommentFlag
- #CommentFlag NewString
- !
- !TEXT=#HotkeyInterval
- #HotkeyInterval Value
- !
- !TEXT=#HotkeyModifierTimeout
- #HotkeyModifierTimeout Value
- !
- !TEXT=#Include
- #Include FileName
- !
- !TEXT=#IncludeAgain
- #IncludeAgain FileName
- !
- !TEXT=#InstallKeybdHook
- #InstallKeybdHook [force]
- !
- !TEXT=#InstallMouseHook
- #InstallMouseHook [force]
- !
- !TEXT=#MaxHotkeysPerInterval
- #MaxHotkeysPerInterval Value
- !
- !TEXT=ControlMove
- ControlMove, Control, X, Y, Width, Height [, WinTitle, WinText, ExcludeTitle, ExcludeText]
- !
- !TEXT=Control
- Control, Cmd [, Value, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
- !
- !TEXT=ControlGet
- ControlGet, OutputVar, Cmd [, Value, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
- !
- !TEXT=ControlClick
- ControlClick [, Control, WinTitle, WinText, WhichButton, ClickCount, Hold/Release?, ExcludeTitle, ExcludeText]
- !
- !TEXT=ControlFocus
- ControlFocus [, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
- !
- !TEXT=ControlGetFocus
- ControlGetFocus, OutputVar [WinTitle, WinText, ExcludeTitle, ExcludeText]
- !
- !TEXT=ControlGetText
- ControlGetText, OutputVar [, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
- !
- !TEXT=ControlSetText
- ControlSetText, Control, NewText [, WinTitle, WinText, ExcludeTitle, ExcludeText]
- !
- !TEXT=SetControlDelay
- SetControlDelay , Delay
- !
- !TEXT=GroupActivate
- GroupActivate, GroupName [, R]
- !
- !TEXT=GroupDeActivate
- GroupDeactivate, GroupName [, R]
- !
- !TEXT=GroupAdd
- GroupAdd, GroupName, WinTitle [, WinText, Label, ExcludeTitle, ExcludeText]
- !
- !TEXT=GroupClose
- GroupClose, GroupName [, A|R]
- !
- !TEXT=#WinActivateForce
- #WinActivateForce
- !
- !TEXT=DetectHiddenText
- DetectHiddenText, On|Off
- !
- !TEXT=DetectHiddenWindows
- DetectHiddenWindows, On|Off
- !
- !TEXT=IfWinActive
- IfWinActive [, WinTitle, WinText, ExcludeTitle, ExcludeText]
- !
- !TEXT=IfWinNotActive
- IfWinNotActive [, WinTitle, WinText, ExcludeTitle, ExcludeText]
- !
- !TEXT=IfWinExist
- IfWinExist [, WinTitle, WinText, ExcludeTitle, ExcludeText]
- !
- !TEXT=IfWinNotExist
- IfWinNotExist [, WinTitle, WinText, ExcludeTitle, ExcludeText]
- !
- !TEXT=SetTitleMatchMode
- SetTitleMatchMode, Fast|Slow|1|2
- !
- !TEXT=SetWinDelay
- SetWinDelay, Delay
- !
- !TEXT=StatusBarGetText
- StatusBarGetText, OutputVar [, Part, WinTitle, WinText, ExcludeTitle, ExcludeText]
- !
- !TEXT=StatusBarWait
- StatusBarWait [, BarText, Seconds, Part, WinTitle, WinText, Interval, ExcludeTitle, ExcludeText]
- !
- !TEXT=ToolTip
- ToolTip [, Text, X, Y]
- !
- !TEXT=WinActivate
- WinActivate [, WinTitle, WinText, ExcludeTitle, ExcludeText]
- !
- !TEXT=WinActivateBottom
- WinActivateBottom [, WinTitle, WinText, ExcludeTitle, ExcludeText]
- !
- !TEXT=WinClose
- WinClose [, WinTitle, WinText, SecondsToWait, ExcludeTitle, ExcludeText]
- !
- !TEXT=WinGetActiveStats
- WinGetActiveStats, Title, Width, Height, X, Y
- !
- !TEXT=WinGetActiveTitle
- WinGetActiveTitle, OutputVar
- !
- !TEXT=WinGetPos
- WinGetPos [X, Y, Width, Height, WinTitle, WinText, ExcludeTitle, ExcludeText]
- !
- !TEXT=WinGetText
- WinGetText, OutputVar [, WinTitle, WinText, ExcludeTitle, ExcludeText]
- !
- !TEXT=WinGetTitle
- WinGetTitle, OutputVar [, WinTitle, WinText, ExcludeTitle, ExcludeText]
- !
- !TEXT=WinHide
- WinHide [, WinTitle, WinText, ExcludeTitle, ExcludeText]
- !
- !TEXT=WinKill
- WinKill [, WinTitle, WinText, SecondsToWait, ExcludeTitle, ExcludeText]
- !
- !TEXT=WinMaximize
- WinMaximize [, WinTitle, WinText, ExcludeTitle, ExcludeText]
- !
- !TEXT=WinMinimize
- WinMinimize [, WinTitle, WinText, ExcludeTitle, ExcludeText]
- !
- !TEXT=WinMenuSelectItem
- WinMenuSelectItem, WinTitle, WinText, Menu [, SubMenu1, SubMenu2, SubMenu3, SubMenu4, SubMenu5, SubMenu6, ExcludeTitle, ExcludeText]
- !
- !TEXT=WinMinimizeAll
- WinMinimizeAll
- !
- !TEXT=WinMinimizeAllUndo
- WinMinimizeAllUndo
- !
- !TEXT=WinMove
- WinMove, WinTitle, WinText, X, Y [, Width, Height, ExcludeTitle, ExcludeText]
- !
- !TEXT=WinRestore
- WinRestore [, WinTitle, WinText, ExcludeTitle, ExcludeText]
- !
- !TEXT=WinSetTitle
- WinSetTitle, WinTitle, WinText, NewTitle [, ExcludeTitle, ExcludeText]
- !
- !TEXT=WinShow
- WinShow [, WinTitle, WinText, ExcludeTitle, ExcludeText]
- !
- !TEXT=WinWait
- WinWait, WinTitle, WinText, Seconds [, ExcludeTitle, ExcludeText]
- !
- !TEXT=WinWaitActive
- WinWaitActive [, WinTitle, WinText, Seconds, ExcludeTitle, ExcludeText]
- !
- !TEXT=WinWaitNotActive
- WinWaitNotActive [, WinTitle, WinText, Seconds, ExcludeTitle, ExcludeText]
- !
- !TEXT=WinWaitClose
- WinWaitClose, WinTitle, WinText, Seconds [, ExcludeTitle, ExcludeText]
- !
- !TEXT=A_Hour
- A_Hour
- !
- !TEXT=A_Index
- A_Index
- !
- !TEXT=A_LoopField
- A_LoopField
- !
- !TEXT=A_LoopFileName
- A_LoopFileName
- !
- !TEXT=A_LoopReadLine
- A_LoopReadLine
- !
- !TEXT=A_LoopRegName
- A_LoopRegName
- !
- !TEXT=A_MDay
- A_MDay
- !
- !TEXT=A_Min
- A_Min
- !
- !TEXT=A_Mon
- A_Mon
- !
- !TEXT=A_NumBatchLines
- A_NumBatchLines
- !
- !TEXT=A_OSType
- A_OSType
- !
- !TEXT=A_OSVersion
- A_OSVersion
- !
- !TEXT=A_PriorHotkey
- A_PriorHotkey
- !
- !TEXT=A_ScriptDir
- A_ScriptDir
- !
- !TEXT=A_ScriptFullPath
- A_ScriptFullPath
- !
- !TEXT=A_ScriptName
- A_ScriptName
- !
- !TEXT=A_Sec
- A_Sec
- !
- !TEXT=A_Space
- A_Space
- !
- !TEXT=A_Tab
- A_Tab
- !
- !TEXT=A_ThisHotkey
- A_ThisHotkey
- !
- !TEXT=A_TickCount
- A_TickCount
- !
- !TEXT=A_TimeIdle
- A_TimeIdle
- !
- !TEXT=A_TimeIdlePhysical
- A_TimeIdlePhysical
- !
- !TEXT=A_TimeSincePriorHotkey
- A_TimeSincePriorHotkey
- !
- !TEXT=A_TimeSinceThisHotkey
- A_TimeSinceThisHotkey
- !
- !TEXT=A_WDay
- A_WDay
- !
- !TEXT=A_WorkingDir
- A_WorkingDir
- !
- !TEXT=A_YDay
- A_YDay
- !
- !TEXT=A_Year
- A_Year
- !
-