Abbreviation List

Previous Top Next

Self Expanding Abbreviations Reference

Abbreviation Expansion

AutoIt Functions

as Assign(|)
aso AutoitSetOption(|)
awgt AutoitWinGetTitle()
|
awst AutoitWinSetTitle(|)
ba BitAND(|)
bi BlockInput(|)
bin Binary(|)
binl BinaryLen(|)
binm BinaryMid(|)
bn BitNOT(|)
bo BitOR(|)
bro BitRotate(|)
bre Break(|)
bs BitShift(|)
bx BitXOR(|)
ccl ControlClick(|)
cco ControlCommand(|)
cd ControlDisable("|","","")
cdt CDTray(|)
ce ControlEnable("|","","")
ceil Ceiling(|)
cf ControlFocus("|","","")
cg ClipGet()|
cgf ControlGetFocus(|)
cgh ControlGetHandle(|)
cgp ControlGetPos(|)
cgt ControlGetText(|)
ch ControlHide(|)
clv ControlListView(|)
cm ControlMove(|)
cp ClipPut(|)
cr ConsoleRead(|)
cs ControlSend(|)
csh ControlShow(|)
cst ControlSetText(|)
cw ConsoleWrite(| & @CRLF)
cwr ConsoleWrite("! |" & @CRLF)
cwg ConsoleWrite("+ |" & @CRLF)
cwb ConsoleWrite("> |" & @CRLF)
cwo ConsoleWrite("- |" & @CRLF)
cwln ConsoleWrite("- " & @ScriptLineNumber & "|" & @CRLF)
cwe ConsoleWriteError(| & @CRLF)
dco DirCopy(|)
dcr DirCreate(|)
dgd DriveGetDrive(|)
dgfs DriveGetFileSystem(|)
dgl DriveGetLabel(|)
dgsi DirGetSize(|)
dgse DriveGetSerial(|)
dgt DriveGetType(|)
dll DllCall(|)
dllc DllClose(|)
dllo DllOpen(|)
dllsc DllStructCreate(|)
dllsgd DllStructGetData(|)
dllsgp DllStructGetPtr(|)
dllsgs DllStructGetSize(|)
dllssd DllStructSetData(|)
dm DirMove(|)
dma DriveMapAdd(|)
dmd DriveMapDel(|)
dmg DriveMapGet(|)
dr DirRemove(|)
ds DriveStatus(|)
dsf DriveSpaceFree(|)
dsl DriveSetLabel(|)
dst DriveSpaceTotal(|)
eg EnvGet(|)
es EnvSet(|)
eu EnvUpdate()
|
exec Execute(|)
fcd FileChangeDir(|)
fcl FileClose(|)
fcnl FileCreateNTFSLink(|)
fco FileCopy(|)
fcs FileCreateShortcut(|)
fd FileDelete(|)
fe FileExists(|)
ffff FileFindFirstFile(|)
ffnf FileFindNextFile(|)
fga FileGetAttrib(|)
fgln FileGetLongName(|)
fgsh FileGetShortcut(|)
fgsi FileGetSize(|)
fgsn FileGetShortName(|)
fgt FileGetTime(|)
fgv FileGetVersion(|)
fi FileInstall(|)
flo Floor(|)
fm FileMove(|)
fo FileOpen(|)
fod FileOpenDialog(|)
fr FileRead(|)
fread Local $hFile = FileOpen('|', $FO_READ + $FO_UTF8_NOBOM)
Local $sFileContent = FileRead($hFile)
FileClose($hFile)
 
frc FileRecycle(|)
frce FileRecycleEmpty(|)
frl FileReadLine(|)
fsa FileSetAttrib(|)
fsd FileSaveDialog(|)
fsf FileSelectFolder(|)
fsp FtpSetProxy(|)
fst FileSetTime(|)
fw FileWrite(|)
fwl FileWriteLine(|)
fwrite Local $hFile = FileOpen('|', $FO_OVERWRITE + $FO_UTF8_NOBOM)
FileWrite($hFile, $sContentToWrite)
FileClose($hFile)
 
gc GUICreate(|)
gcca GUICtrlCreateAvi(|)
gccb GUICtrlCreateButton(|)
gcccb GUICtrlCreateCheckbox(|)
gcccm GUICtrlCreateContextMenu(|)
gccda GUICtrlCreateDate(|)
gccdu GUICtrlCreateDummy()
|
gcce GUICtrlCreateEdit(|)
gccg GUICtrlCreateGroup(|)
gccgc GUICtrlCreateGroup('', -99, -99, 1, 1) ; Close group.
|
gccgr GUICtrlCreateGraphic(|)
gcci GUICtrlCreateInput(|)
gccico GUICtrlCreateIcon(|)
gccla GUICtrlCreateLabel(|)
gccli GUICtrlCreateList(|)
gccm GUICtrlCreateMenu(|)
gccmc GUICtrlCreateMonthCal(|)
gccmi GUICtrlCreateMenuItem(|)
gccco GUICtrlCreateCombo(|)
gcco GUICtrlCreateObj(|)
gccpi GUICtrlCreatePic(|)
gccpr GUICtrlCreateProgress(|)
gccr GUICtrlCreateRadio(|)
gccs GUICtrlCreateSlider(|)
gcct GUICtrlCreateTab(|)
gccti GUICtrlCreateTabItem(|)
gcctic GUICtrlCreateTabItem('') ; Close tabitem.
|
gcctv GUICtrlCreateTreeView(|)
gcctvi GUICtrlCreateTreeViewItem(|)
gccu GUICtrlCreateUpdown(|)
gcd GUICtrlDelete(|)
gcgh GUICtrlGetHandle(|)
gcgs GUICtrlGetState(|)
gcr GUICtrlRead(|)
gcrlvs GUICtrlRegisterListViewSort(|)
gcrm GUICtrlRecvMsg(|)
gcsbc GUICtrlSetBkColor(|)
gcsco GUICtrlSetColor(|)
gcscu GUICtrlSetCursor(|)
gcsd GUICtrlSetData(|)
gcsf GUICtrlSetFont(|)
gcsgr GUICtrlSetGraphic(|)
gcsi GUICtrlSetImage(|)
gcsl GUICtrlSetLimit(|)
gcsm GUICtrlSendMsg(|)
gcsoe GUICtrlSetOnEvent(|)
gcsp GUICtrlSetPos(|)
gcsr GUICtrlSetResizing(|)
gcss GUICtrlSetState(|)
gcsst GUICtrlSetStyle(|)
gcst GUICtrlSetTip(|)
gcstd GUICtrlSendToDummy(|)
gd GUIDelete(|)
ggci GUIGetCursorInfo(|)
ggm GUIGetMsg(|)
grm GUIRegisterMsg(|)
gs GUISwitch(|)
gsa GUISetAccelerators(|)
gsbc GUISetBkColor(|)
gsc GUISetCoord(|)
gscu GUISetCursor(|)
gsf GUISetFont(|)
gsg GUIStartgroup(|)
gsh GUISetHelp(|)
gsi GUISetIcon(|)
gsoe GUISetOnEvent(|)
gss GUISetState(|)
gsw GUISwitch(|)
hks HotKeySet(|)
hsp httpSetProxy(|)
ib InputBox(|)
id IniDelete(|)
ic InetClose(|)
ig InetGet(|)
igi InetGetInfo(|)
igs InetGetSize(|)
ir IniRead(|)
irs IniReadSection(|)
irsn IniReadSectionNames(|)
isad IsAdmin()
|
isar IsArray(|)
isbin IsBinary(|)
isbo IsBool(|)
isd IsDeclared(|)
isf IsFloat(|)
ishw IsHWnd(|)
isi IsInt(|)
isk IsKeyword(|)
isn IsNumber(|)
iso IsObj(|)
iss IsString(|)
iw IniWrite(|)
iws IniWriteSection(|)
mb MsgBox(|)
mb2 MsgBox(0, '', |)
mc MouseClick(|)
mcd MouseClickDrag(|)
md MouseDown(|)
mgc MouseGetCursor()
|
mgp MouseGetPos()
|
mgs MemGetStats()
|
mm MouseMove(|)
mu MouseUp(|)
mw MouseWheel(|)
num Number(|)
oae OnAutoItExit()
|
oas OnAutoItStart()
|
oasr #OnAutoItStartRegister "|"
oaer OnAutoItExitRegister ("|")
ocr ObjCreate(|)
oev ObjEvent(|)
oge ObjGet(|)
pc ProcessClose(|)
pcs PixelChecksum(|)
pe ProcessExists(|)
pgc PixelGetColor(|)
pl ProcessList(|)
poff ProgressOff()
|
pon ProgressOn(|)
ps PixelSearch(|)
pset ProgressSet(|)
psp ProcessSetPriority(|)
pw ProcessWait(|)
pwc ProcessWaitClose(|)
ra RunAs(|)
raw RunAsWait(|)
rd RegDelete(|)
rdm Random(|)
rek RegEnumKey(|)
rev RegEnumVal(|)
rnd Round(|)
rr RegRead(|)
rwa RunWait(|)
rwr RegWrite(|)
sacr StringAddCR(|)
sbgt StatusbarGetText(|)
sco StringCompare(|)
sd Shutdown(|)
se SetError(|)
ser StdErrRead(|)
sex SetExtended(|)
sexec ShellExecute(|)
sexecw ShellExecuteWait(|)
sf StringFormat(|)
sia StringIsAlpha(|)
sian StringIsAlNum(|)
siascii StringIsASCII(|)
sid StringIsDigit(|)
sif StringIsFloat(|)
sii StringIsInt(|)
sil StringIsLower(|)
sio SplashImageOn(|)
sioc StdioClose(|)
sis StringInStr(|)
sisp StringIsSpace(|)
siu StringIsUpper(|)
siw StdinWrite(|)
sixd StringIsXDigit(|)
ska SendKeepActive(|)
sl StringLeft(|)
slen StringLen(|)
slower StringLower(|)
slp Sleep(|)
sm StringMid(|)
so SplashOff()
|
sor StdoutRead(|)
sp SoundPlay(|)
sr StringRight(|)
srep StringReplace(|)
srex StringRegExp(|)
srexr StringRegExpReplace(|)
ss StringSplit(|)
sscr StringStripCR(|)
ssws StringStripWS(|)
sswv SoundSetWaveVolume(|)
stbin StringToBinary(|)
stl StringTrimLeft(|)
sto SplashTextOn(|)
str StringTrimRight(|)
stri String(|)
supper StringUpper(|)
tci TrayCreateItem(|)
tcm TrayCreateMenu(|)
tcpa TCPAccept(|)
tcpc TCPConnect(|)
tcpcs TCPCloseSocket(|)
tcpl TCPListen(|)
tcpntip TCPNameToIP(|)
tcpr TCPRecv(|)
tcps TCPSend(|)
tcpsd TCPShutdown()
|
tcpsu TCPStartup()
|
td TimerDiff(|)
tgm TrayGetMsg()
|
ti TimerInit()
|
tid TrayItemDelete(|)
tigh TrayItemGetHandle(|)
tigs TrayItemGetState(|)
tigt TrayItemGetText(|)
tisoe TrayItemSetOnEvent(|)
tiss TrayItemSetState(|)
tist TrayItemSetText(|)
toolt ToolTip(|)
tsc TraySetClick(|)
tsi TraySetIcon(|)
tsoe TraySetOnEvent(|)
tspi TraySetPauseIcon(|)
tss TraySetState(|)
tstt TraySetToolTip(|)
tt TrayTip(|)
ub UBound(|)
udpb UDPBind(|)
udpcs UDPCloseSocket(|)
udpo UDPOpen(|)
udpr UDPRecv(|)
udpsd UDPShutdown()
|
udpsu UDPStartup()
|
wa WinActive(|)
wat WinActivate(|)
wc WinClose(|)
we WinExists(|)
wf WinFlash(|)
wgcl WinGetClassList(|)
wgcp WinGetCaretPos()
|
wgcs WinGetClientSize(|)
wgh WinGetHandle(|)
wgpo WinGetPos(|)
wgpr WinGetProcess(|)
wgs WinGetState(|)
wgte WinGetText(|)
wgti WinGetTitle(|)
wk WinKill(|)
wl WinList(|)
wm WinMove(|)
wma WinMinimizeAll()
|
wmau WinMinimizeAllUndo()
|
wmsi WinMenuSelectItem(|)
wsot WinSetOnTop(|)
wss WinSetState(|)
wst WinSetTitle(|)
wstr WinSetTrans(|)
ww WinWait(|)
wwa WinWaitActive(|)
wwc WinWaitClose(|)
wwna WinWaitNotActive(|)

Files

au3check C:\\Program Files\\Autoit3\\Au3Check.exe|
autoit3 C:\\Program Files\\Autoit3\\AutoIt3.exe|
aut2exe C:\\Program Files\\AutoIt3\\Aut2Exe\\Aut2Exe.exe|
datbeta C:\\Program Files\\AutoIt3\\Beta\\au3check.dat|
datfinal C:\\Program Files\\AutoIt3\\au3check.dat|
icon C:\\Program Files\\AutoIt3\\Aut2Exe\\Icons\\|.ico
scite C:\\Program Files\\Autoit3\\SciTe\\SciTe.exe|

Directories

autoit3dir C:\\Program Files\\AutoIt3\\|
aut2exedir C:\\Program Files\\AutoIt3\\Aut2Exe\\|
icondir C:\\Program Files\\AutoIt3\\Aut2Exe\\Icons\\|
includedir C:\\Program Files\\AutoIt3\\Include\\|
scitedir C:\\Program Files\\Autoit3\\SciTe\\|

Abbreviate strings

HKCR HKEY_CLASSES_ROOT
HKCU HKEY_CURRENT_USER
HKLM HKEY_LOCAL_MACHINE
HKU HKEY_USERS
HKCC HKEY_CURRENT_CONFIG

Gui Variables

but $idButton_|
chk $idCheckbox_|
dat $idDate_|
edt $idEdit_|
inp $idInput_|
lbl $idLabel_|
lvw $idListView_|
men $idMenu_|
prg $idProgressbar_|
rad $idRadio_|
sld $idSlider_|
tab $idTab_|
trv $idTreeview_|

Tray Variables

item $item_|
trayi $idTrayItem_|
traym $idTrayMenu_|

Misc Variables

hnd $handle_|
regkey $registry_Key
regval $registry_Value
regdat $registry_Data
error $error |
errval $iErrorValue = @error
|
extval $iExtendedValue = @extended
|
retval $Result = |
iretval $iResult = |
aretval $aResult = |
bretval $bResult = |
dretval $dResult = |
vretval $vResult = |
result $result = |

Constant GUICtrlRead

gchecked $GUI_CHECKED|
gunchecked $GUI_UNCHECKED|

Constant GUICtrlState

genable $GUI_ENABLE|
gdisable $GUI_DISABLE|
ghide $GUI_HIDE|
gshow $GUI_SHOW|
gfocus $GUI_FOCUS|

Events and messages

eclose $GUI_EVENT_CLOSE|
emin $GUI_EVENT_MINIMIZE|
erestore $GUI_EVENT_RESTORE|
emax $GUI_EVENT_MAXIMIZE|

PreSelected Commands

cmd RunWait('"' & @ComSpec & '" /c |', '', @SW_HIDE)
 
cmd2 RunWait('"' & @ComSpec & '" /c ' & |, '', @SW_HIDE)
 
slp0 Sleep(10)
|
slp1 Sleep(1000)
|
slp2 Sleep(2000)
|
slp3 Sleep(3000)
|
slp4 Sleep(4000)
|
slp5 Sleep(5000)
|

GUI Common Prefixes to Functions

gcc GUICtrlCreate|
gcs GUICtrlSet|

Macro's

cr1 & @CRLF |
cr2 & @CRLF & @CRLF |
cr3 & @CRLF & @CRLF & @CRLF |
cr4 & @CRLF & @CRLF & @CRLF & @CRLF |
cr5 & @CRLF & @CRLF & @CRLF & @CRLF & @CRLF |
cont1 & @CRLF & _
'|'
cont11 & @CRLF & _
'|'& @CRLF & _
''
cont111 & @CRLF & _
'|'& @CRLF & _
''& @CRLF & _
''
cont2 & @CRLF & _
"|"
cont22 & @CRLF & _
"|"& @CRLF & _
""
cont222 & @CRLF & _
"|"& @CRLF & _
""& @CRLF & _
""
tab1 & @TAB |
tab2 & @TAB & @TAB |
tab3 & @TAB & @TAB & @TAB |
tab4 & @TAB & @TAB & @TAB & @TAB |
tab5 & @TAB & @TAB & @TAB & @TAB & @TAB |
lf1 & @LF |
lf2 & @LF & @LF |
lf3 & @LF & @LF & @LF |
lf4 & @LF & @LF & @LF & @LF |
lf5 & @LF & @LF & @LF & @LF & @LF |

Keywords

cc ContinueCase
|
cl ContinueLoop
|
el ExitLoop
|
err @error |
ext @extended |

Directives

include #include <|
 
incl #include <|
 
incll #include "|.au3"
 
includeonce #include-once
|
incl1 #include-once
|
prag #pragma compile(|,)
 
reg #Region - |
 
reg2 #Region - |
#EndRegion
 
ereg #EndRegion
|
nti #NoTrayIcon
|

@error Handling

iferrc If @error Then ConsoleWrite('! ---> @error=' & @error & ' @extended=' & @extended & ' : |' & @CRLF)
 
ifextc If @error Or @extended Then ConsoleWrite('! ---> @error=' & @error & ' @extended=' & @extended & ' : |' & @CRLF)
 
iferrext If @error then Return SetError(@error, @extended, |)
 
iferrext2 If @error Then
   Return SetError(@error, @extended, |)
Else
   
EndIf
 
iferrext3 If @error Then
   Return SetError(@error, @extended, |)
Elseif Then
   
Else
   
EndIf
 
iferrmsg If @error Then MsgBox($MB_ICONERROR, '|', '@error = ' & @error & @CRLF & '@extended = ' & @extended)
 
switcherr Switch @error
   Case 1
      |
   Case 2
      
   Case 3
      
   Case 4
      
   Case Else
      
EndSwitch
 
retseterr Return SetError(@error, @extended, |)
 

Multiline Structures

ifthen If | Then
   
EndIf
ifelse If | Then
   
Else
   
EndIf
ifelseif If | Then
   
ElseIf False Then
   
Else
   
EndIf
dountil Do
   
Until |
fornext For $i = | To Step 1
   
Next
fornext2 For $iStep_idx = | To Step 1
   
Next
fun Func _|()
   
EndFunc
 
functions ; Start - Functions

Func _|A()
EndFunc

Func _B()
EndFunc

Func _C()
EndFunc

Func _D()
EndFunc

Func _E()
EndFunc

Func _F()
EndFunc

Func _G()
EndFunc

Func _H()
EndFunc

Func _I()
EndFunc

Func _J()
EndFunc
 
funex _Example()
Func _Example()
   |
EndFunc
 
funex123 _Example_1()
_Example_2()
_Example_3()

Func _Example_1()
   |
EndFunc

Func _Example_2()
   
EndFunc

Func _Example_3()
   
EndFunc
 
funwrap Func _Wrapper(|, $iError = @error, $iExtended = @extended)
   
   Return SetError($iError , $iExtended , 1)
EndFunc
 
selectcase Select
   Case |
   Case
   Case
   Case
   Case Else
EndSelect
 
switchcase Switch |
   Case
   Case
   Case
   Case
   Case Else
EndSwitch
 
more |
Case
Case
Case
Case
Case Else
whilewend While |
WEnd
 
withendwith With |
EndWith
 

Start of Structures

for0 For $i = 0 To |
for0ub For $i = 0 To UBound(|) -1
for1 For $i = 1 To |
for1ub For $i = 1 To UBound(|) -1
ternary (|@compiled) ? (True) : (False)

GUI managment

setupgui #include <GUIConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>

#Region - GUI Create
GUICreate('|')
GUISetState()
#EndRegion
 
selectloop #Region - GUI SelectLoop
While 1
   $msg = GUIGetMsg()
   Select
      Case $msg = $GUI_EVENT_CLOSE
         Exit
      Case $msg = |
      Case $msg =
      Case $msg =
      Case $msg =
   EndSelect
WEnd
#EndRegion
 
switchloop #Region - GUI SwitchLoop
While True
   Switch GUIGetMsg()
      Case $GUI_EVENT_EXIT
         Exit
      Case |
      Case
      Case
      Case Else
   EndSwitch
WEnd
#EndRegion
 
moremsg |
Case $msg =    
Case $msg =
Case $msg =
Case $msg =
Case $msg =
 

Special functions

say Func _Say($sText, $iRate = 1, $iVolume = 100)
   If $iRate > 10 Or $iVolume > 100 Then Return
   Local $oTalk = ObjCreate('SAPI.SpVoice')
   If Not @error Then
      $oTalk.Rate = $iRate
      $oTalk.Volume = $iVolume
      $oTalk.Speak($sText)
   EndIf
EndFunc
|
selfdelete Func _SelfDelete($iDelay = 0)
   Local $sCmdFile
   FileDelete(@TempDir & "\scratch.bat")
   $sCmdFile = 'ping -n ' & $iDelay & '127.0.0.1 > nul' & @CRLF _
         & ':loop' & @CRLF _
         & 'del "' & @ScriptFullPath & '" > nul' & @CRLF _
         & 'if exist "' & @ScriptFullPath & '" goto loop' & @CRLF _
         & 'del ' & @TempDir & '\scratch.bat'
   FileWrite(@TempDir & "\scratch.bat", $sCmdFile)
   Run(@TempDir & "\scratch.bat", @TempDir, @SW_HIDE)
EndFunc
|

AutoIt3Wrapper Directives + Options

a3w #Region AutoIt3Wrapper Directives
;** This is a list of compiler directives used by AutoIt3Wrapper.exe.
;** comment the lines you don't need or else it will override the default settings
;===============================================================================================
;** AUTOIT3 settings
#AutoIt3Wrapper_UseX64= ;(Y/N) Use X64 versions for AutoIt3_x64 or AUT2EXE_x64. Default=N
#AutoIt3Wrapper_Version= ;(B/P) Use Beta or Production for AutoIt3 and AUT2EXE. Default is P
#AutoIt3Wrapper_Run_Debug_Mode= ;(Y/N)Run Script with console debugging. Default=N
;===============================================================================================
;** AUT2EXE settings
#AutoIt3Wrapper_Icon= ;Filename of the Ico file to use
#AutoIt3Wrapper_OutFile= ;Target exe/a3x filename.
#AutoIt3Wrapper_OutFile_Type= ;a3x=small AutoIt3 file; exe=Standalone executable (Default)
#AutoIt3Wrapper_Compression= ;Compression parameter 0-4 0=Low 2=normal 4=High. Default=2
#AutoIt3Wrapper_UseUpx= ;(Y/N) Compress output program. Default=Y
#AutoIt3Wrapper_Change2CUI= ;(Y/N) Change output program to CUI in stead of GUI. Default=N
;===============================================================================================
;** Target program Resource info
#AutoIt3Wrapper_Res_Comment= ;Comment field
#AutoIt3Wrapper_Res_Description= ;Description field
#AutoIt3Wrapper_Res_Fileversion= ;File Version
#AutoIt3Wrapper_Res_FileVersion_AutoIncrement= ;(Y/N/P)AutoIncrement FileVersion After Aut2EXE is finished. default=N
; P=Prompt, Will ask at Compilation time if you want to increase the versionnumber
#AutoIt3Wrapper_Res_Language= ;Resource Language code . default 2057=English (United Kingdom)
#AutoIt3Wrapper_Res_LegalCopyright= ;Copyright field
#AutoIt3Wrapper_res_requestedExecutionLevel= ;None, asInvoker, highestAvailable or requireAdministrator (default=None)
#AutoIt3Wrapper_Res_SaveSource= ;(Y/N) Save a copy of the Scriptsource in the EXE resources. default=N
;
; free form resource fields ... max 15
; you can use the following variables:
; %AutoItVer% which will be replaced with the version of AutoIt3
; %date% = PC date in short date format
; %longdate% = PC date in long date format
; %time% = PC timeformat
; eg: #AutoIt3Wrapper_Res_Field=AutoIt Version|%AutoItVer%
#AutoIt3Wrapper_Res_Field= ;Free format fieldname|fieldvalue
#AutoIt3Wrapper_Res_Field= ;Free format fieldname|fieldvalue
#AutoIt3Wrapper_Res_Field= ;Free format fieldname|fieldvalue
; Add extra ICO files to the resources which can be used with TraySetIcon(@ScriptFullPath, 3) etc
; list of filename of the Ico files to be added, First one will have number 3, then 4 ..etc
#AutoIt3Wrapper_Res_Icon_Add= ; Filename of ICO to be added.
#AutoIt3Wrapper_Res_Icon_Add= ; Filename of ICO to be added.
; Add extra files to the resources
#AutoIt3Wrapper_Res_File_Add= ; Filename[,Section [,ResName]] to be added.
#AutoIt3Wrapper_Res_File_Add= ; Filename[,Section [,ResName]] to be added.
;===============================================================================================
; Tidy Settings
#AutoIt3Wrapper_Run_Tidy= ;(Y/N) Run Tidy before compilation. default=N
#AutoIt3Wrapper_Tidy_Stop_OnError= ;(Y/N) Continue when only Warnings. default=Y
#Tidy_Parameters= ;Tidy Parameters...see SciTE4AutoIt3 Helpfile for options
;===============================================================================================
; Au3Stripper
#AutoIt3Wrapper_Run_Au3Stripper= ;(Y/N) Run Au3Stripper before compilation. default=N
#Au3Stripper_parameters=
;===============================================================================================
; AU3Check settings
#AutoIt3Wrapper_Run_AU3Check= ;(Y/N) Run au3check before compilation. Default=Y
#AutoIt3Wrapper_AU3Check_Parameters= ;Au3Check parameters
#AutoIt3Wrapper_AU3Check_Stop_OnWarning= ;(Y/N) N=Continue on Warnings.(Default) Y=Always stop on Warnings
#AutoIt3Wrapper_PlugIn_Funcs= ;Define PlugIn function names separated by a Comma to avoid AU3Check errors
;===============================================================================================
; cvsWrapper settings
#AutoIt3Wrapper_Versioning== ;(Y/N/V) Run cvsWrapper to update the script source. default=N
; V=only when version is increased by #AutoIt3Wrapper_Res_FileVersion_AutoIncrement.
#AutoIt3Wrapper_Versioning_Parameters= ; /NoPrompt : Will skip the cvsComments prompt
; /Comments : Text to added in the cvsComments. It can also contain the below variables.
;===============================================================================================
; RUN BEFORE AND AFTER definitions
; The following directives can contain: these variables
; %in% , %out%, %icon% which will be replaced by the fullpath filename.
; %scriptdir% same as @ScriptDir and %scriptfile% = filename without extension.
; %fileversion% is the information from the #AutoIt3Wrapper_Res_Fileversion directive
; %scitedir% will be replaced by the SciTE program directory
; %autoitdir% will be replaced by the AutoIt3 program directory
#AutoIt3Wrapper_Run_Before= ;process to run before compilation - you can have multiple records that will be processed in sequence
#AutoIt3Wrapper_Run_After= ;process to run After compilation - you can have multiple records that will be processed in sequence
#EndRegion
 
a3w2 #Region - AutoIt3Wrapper Directives
#AutoIt3Wrapper_UseX64=
#AutoIt3Wrapper_Version=
#AutoIt3Wrapper_Run_Debug_Mode=
#AutoIt3Wrapper_Icon=
#AutoIt3Wrapper_OutFile=
#AutoIt3Wrapper_OutFile_Type=
#AutoIt3Wrapper_Compression=
#AutoIt3Wrapper_UseUpx=
#AutoIt3Wrapper_Change2CUI=
#AutoIt3Wrapper_Res_Comment=
#AutoIt3Wrapper_Res_Description=
#AutoIt3Wrapper_Res_Fileversion=
#AutoIt3Wrapper_Res_FileVersion_AutoIncrement=
#AutoIt3Wrapper_Res_Language=
#AutoIt3Wrapper_Res_LegalCopyright=
#AutoIt3Wrapper_res_requestedExecutionLevel=
#AutoIt3Wrapper_Res_SaveSource=
#AutoIt3Wrapper_Res_Field=
#AutoIt3Wrapper_Res_Field=
#AutoIt3Wrapper_Res_Field=
#AutoIt3Wrapper_Res_Icon_Add=
#AutoIt3Wrapper_Res_Icon_Add=
#AutoIt3Wrapper_Res_File_Add=
#AutoIt3Wrapper_Res_File_Add=
#AutoIt3Wrapper_Run_Tidy=
#AutoIt3Wrapper_Tidy_Stop_OnError=
#Tidy_Parameters=
#AutoIt3Wrapper_Run_Au3Stripper=
#Au3Stripper_parameters=
#AutoIt3Wrapper_Run_AU3Check=
#AutoIt3Wrapper_AU3Check_Parameters=
#AutoIt3Wrapper_AU3Check_Stop_OnWarning=
#AutoIt3Wrapper_PlugIn_Funcs=
#AutoIt3Wrapper_Versioning==
#AutoIt3Wrapper_Versioning_Parameters=
#AutoIt3Wrapper_Run_Before=
#AutoIt3Wrapper_Run_After=
#EndRegion
 
options #Region - Options|
;~ Opt('CaretCoordMode', 0)            ; 1 = Absolute screen coordinates, 0 = Relative coords to the active window.
;~ Opt('ExpandEnvStrings', 1)         ; 0 = Don't expand, 1 = Do expand (Use %dos% variables in strings).
;~ Opt('ExpandVarStrings', 1)         ; 0 = Don't expand, 1 = Do expand (Use $autoit$ variables in strings).
;~ Opt('FtpBinaryMode', 0)            ; 1 = Binary transfer, 0 = ASCII transfer.
;~ Opt('GUICloseOnESC', 0)            ; 1 = Send the $GUI_EVENT_CLOSE message when ESC is pressed (default).
;                                0 = Don't send the $GUI_EVENT_CLOSE message when ESC is pressed.
;~ Opt('GUICoordMode', 2)            ; 1 = Absolute coordinates still relative to the dialog box.
;                                0 = Relative position to the start of the last control (Upper left corner).
;                                2 = Cell positionining relative to current cell.
;~ Opt('GUIDataSeparatorChar', '')      ; '' Define the character which delimits subitems in GUICtrlSetData. The default character is '|'.
;~ Opt('GUIEventOptions', 1)         ; 0 = Windows behavior on click on Minimize, Restore and Maximize.
;                               1 = Suppress windows behavior on minimize, restore or Maximize. Just send notification.
;                               2 = GUICtrlRead of a tab control return ControlID instead of index of the Tab.
;                               3 = Combined mode of 1 & 2.
;~ Opt('GUIOnEventMode', 1)            ; 0 = Disable, 1 = Enable.
;~ Opt('GUIResizeMode', 1)            ; 0 = No resizing, <1024 = Anytype of resizing (Reference: GuiCtrlSetResizing).
;~ Opt('MouseClickDelay', 10)         ; ? = 10 milliseconds by default.
;~ Opt('MouseClickDownDelay', 10)      ; ? = 10 milliseconds by default.
;~ Opt('MouseClickDragDelay', 250)      ; ? = 250 milliseconds by default.
;~ Opt('MouseCoordMode', 0)            ; 1 = Absolute, 0 = Relative to active window, 2 = Relative to client area.
;~ Opt('MustDeclareVars', 1)         ; 0 = No, 1 = Require pre-declare.
;~ Opt('OnExitFunc', '')            ; '' Sets the name of the function called when AutoIt exits (Default is OnAutoItExit).
;~ Opt('PixelCoordMode', 0)            ; 1 = Absolute, 0 = relative, 2 = Relative coords to the client area.
;~ Opt('SendAttachMode', 1)            ; 0 = Don't attach, 1 = Attach.
;~ Opt('SendCapslockMode', 0)         ; 1 = Store and restore, 0 = Don't store / restore.
;~ Opt('SendKeyDelay', 5)            ; ? = 5 milliseconds by default.
;~ Opt('SendKeyDownDelay', 1)         ; ? = 1 millisecond by default.
;~ Opt('TCPTimeout', 100)            ; ? = 100 milliseconds by default.
;~ Opt('TrayAutoPause', 0)            ; 1 = AutoPausing is On, 0 = AutoPausing is Off.
;~ Opt('TrayIconDebug', 1)            ; 0 = No info, 1 = Debug line info.
;~ Opt('TrayIconHide', 1)            ; 0 = Show, 1 = Hide.
;~ Opt('TrayMenuMode', 1)            ; 0 = Default menu items (Script Paused / Exit) are appended to the user created menu,
;                                 user created checked items will automatically unchecked, if you double click the tray
;                                 icon then the controlid is returned which has the "Default"-style.
;                               1 = No default menu.
;                               2 = User created checked items will not automatically unchecked if you click it.
;                               4 = Don't return the menuitemID which has the "default"-style in
;                                 the main contextmenu if you double click the tray icon.
;~ Opt('TrayOnEventMode', 1)         ; 0 = disable, 1 = enable.
;~ Opt('WinDetectHiddenText', 1)      ; 0 = Don't detect, 1=Do detect.
;~ Opt('WinSearchChildren', 1)         ; 0 = No, 1 = Search children also.
;~ Opt('WinTextMatchMode', 4)         ; 1 = Complete / Slow mode, 2 = Quick mode.
;~ Opt('WinTitleMatchMode', 4)         ; 1 = Start, 2 = SubString, 3 = Exact, 4 = Advanced, -1 to -4 = Case Insensitive.
;~ Opt('WinWaitDelay', 250)            ; ? = 250 milliseconds by default.
#EndRegion
 

Command Line features

cmdline $CMDLINE[|]
cmdlineselect #Region - CmdlineSelect
If $CMDLINE[0] Then
   For $i = 1 To $CMDLINE[0]
      Select
         Case $CMDLINE[$i] = '/?'
            MsgBox(0x40000, @ScriptName & ' Help', _
                  'Switches are:' & @CRLF _
                   & @CRLF & '/extract' _
                   & @CRLF & @TAB & 'Extract files to current directory' _
                   & @CRLF & '/x|' _
                   & @CRLF & @TAB & '' _
                   & @CRLF & '/x' _
                   & @CRLF & @TAB & '' _
                   & @CRLF & '/x' _
                   & @CRLF & @TAB & '' _
                   & @CRLF & '/x' _
                   & @CRLF & @TAB & '')
            Exit
         Case $CMDLINE[$i] = '/extract'
            FileInstall('x', @ScriptDir & '\')
            Exit
         Case $CMDLINE[$i] = '/x'
         Case $CMDLINE[$i] = '/x'
         Case $CMDLINE[$i] = '/x'
         Case $CMDLINE[$i] = '/x'
         Case Else
            MsgBox(0x40000, 'Incorrect switch used', _
                  'Command used:' & @CRLF & $CMDLINERAW & @CRLF & _
                  @CRLF & 'Use /? for the switches available.')
            Exit
      EndSelect
   Next
EndIf
#EndRegion
 
cmdlineselect2 #Region - CmdlineSelect + Properties
If $CMDLINE[0] Then
   For $i = 1 To $CMDLINE[0]
      If StringLeft($CMDLINE[$i], 1) = '/' Then
         Select
            Case $CMDLINE[$i] = '/?'
               MsgBox(0x40000, @ScriptName & ' Help', _
                     'Switches are:' & @CRLF _
                      & @CRLF & '/extract' _
                      & @CRLF & @TAB & 'Extract files to current directory' _
                      & @CRLF & '/x|' _
                      & @CRLF & @TAB & '' _
                      & @CRLF & '/x' _
                      & @CRLF & @TAB & '' _
                      & @CRLF & '/x' _
                      & @CRLF & @TAB & '' _
                      & @CRLF & '/x' _
                      & @CRLF & @TAB & '')
               Exit
            Case $CMDLINE[$i] = '/extract'
               FileInstall('x', @ScriptDir & '\')
               Exit
            Case $CMDLINE[$i] = '/x'
            Case $CMDLINE[$i] = '/x'
            Case $CMDLINE[$i] = '/x'
            Case $CMDLINE[$i] = '/x'
            Case Else
               _CmdlineMsgBox()
         EndSelect
      Else
         Const $PROPERTY = StringSplit($CMDLINE[$i], '=')
         If Not @error Then
            Select
               Case $PROPERTY[1] = 'x'
                  $x = $PROPERTY[2]
               Case $PROPERTY[1] = 'x'
                  $x = $PROPERTY[2]
               Case $PROPERTY[1] = 'x'
                  $x = $PROPERTY[2]
               Case $PROPERTY[1] = 'x'
                  $x = $PROPERTY[2]
               Case $PROPERTY[1] = 'x'
                  $x = $PROPERTY[2]
               Case Else
                  _CmdlineMsgBox()
            EndSelect
         Else
            _CmdlineMsgBox()
         EndIf
      EndIf
   Next
EndIf
Func _CmdlineMsgBox()
   MsgBox(0x40000, 'Incorrect switch used', _
         'Command used:' & @CRLF & $CMDLINERAW & @CRLF & _
         @CRLF & 'Use /? for the switches available.')
   Exit
EndFunc
#EndRegion
 
cmdlineswitch #Region - CmdlineSwitch
If $CMDLINE[0] Then
   For $i = 1 To $CMDLINE[0]
      Switch $CMDLINE[$i]
         Case '/?'
            MsgBox(0x40000, @ScriptName & ' Help', _
                  'Switches are:' & @CRLF _
                   & @CRLF & '/extract' _
                   & @CRLF & @TAB & 'Extract files to current directory' _
                   & @CRLF & '/x|' _
                   & @CRLF & @TAB & '' _
                   & @CRLF & '/x' _
                   & @CRLF & @TAB & '' _
                   & @CRLF & '/x' _
                   & @CRLF & @TAB & '' _
                   & @CRLF & '/x' _
                   & @CRLF & @TAB & '')
            Exit
         Case '/extract'
            FileInstall('?', @ScriptDir & '\')
            Exit
         Case '/x'
         Case '/x'
         Case '/x'
         Case '/x'
         Case Else
            MsgBox(0x40000, 'Incorrect switch used', _
                  'Command used:' & @CRLF & $CMDLINERAW & @CRLF & _
                  @CRLF & 'Use /? for the switches available.')
            Exit
      EndSwitch
   Next
EndIf
#EndRegion
cmdlineswitch2 #Region - CmdlineSwitch + Properties
If $CMDLINE[0] Then
   For $i = 1 To $CMDLINE[0]
      If StringLeft($CMDLINE[$i], 1) = '/' Then
         Switch $CMDLINE[$i]
            Case '/?'
               MsgBox(0x40000, @ScriptName & ' Help', _
                     'Switches are:' & @CRLF _
                      & @CRLF & '/extract' _
                      & @CRLF & @TAB & 'Extract files to current directory' _
                      & @CRLF & '/x|' _
                      & @CRLF & @TAB & '' _
                      & @CRLF & '/x' _
                      & @CRLF & @TAB & '' _
                      & @CRLF & '/x' _
                      & @CRLF & @TAB & '' _
                      & @CRLF & '/x' _
                      & @CRLF & @TAB & '')
               Exit
            Case '/extract'
               FileInstall('x', @ScriptDir & '\')
               Exit
            Case '/x'
            Case '/x'
            Case '/x'
            Case '/x'
            Case Else
               _CmdlineMsgBox()
         EndSwitch
      Else
         Const $PROPERTY = StringSplit($CMDLINE[$i], '=')
         If Not @error Then
            Switch $PROPERTY[1]
               Case 'x'
                  $x = $PROPERTY[2]
               Case 'x'
                  $x = $PROPERTY[2]
               Case 'x'
                  $x = $PROPERTY[2]
               Case 'x'
                  $x = $PROPERTY[2]
               Case 'x'
                  $x = $PROPERTY[2]
               Case Else
                  _CmdlineMsgBox()
            EndSwitch
         Else
            _CmdlineMsgBox()
         EndIf
      EndIf
   Next
EndIf
Func _CmdlineMsgBox()
   MsgBox(0x40000, 'Incorrect switch used', _
         'Command used:' & @CRLF & $CMDLINERAW & @CRLF & _
         @CRLF & 'Use /? for the switches available.')
   Exit
EndFunc
#EndRegion
 

Script switches

aes /AutoIt3ExecuteScript |
ael /AutoIt3ExecuteLine |
raes Run('"' & @AutoItExe & '" /AutoIt3ExecuteScript "' & | & '"')
rwaes RunWait('"' & @AutoItExe & '" /AutoIt3ExecuteScript "' & | & '"')
rael Run('"' & @AutoItExe & '" /AutoIt3ExecuteLine "' & | & '"')
rwael RunWait('"' & @AutoItExe & '" /AutoIt3ExecuteLine "' & | & '"')