Self Expanding Abbreviations Reference

省略表現 元の表現

AutoIt関数

ad AdlibDisable()
ae AdlibEnable()
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(| & @LF)
cwe ConsoleWriteError(| & @LF)
dco DirCopy()
dcr DirCreate()
dgd DriveGetDrive()
dgfs DriveGetFileSystem()
dgl DriveGetLabel()
dgsi DriveGetSize()
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()
frc FileRecycle()
frce FileRecycleEmpty()
frl FileReadLine()
fsa FileSetAttrib()
fsd FileSaveDialog()
fsf FileSelectFolder()
fsp FtpSetProxy()
fst FileSetTime()
fw FileWrite()
fwl fileWriteLine()
gc GUICreate()
gcca GUICtrlCreateAvi()
gccb GUICtrlCreateButton()
gcccb GUICtrlCreateCheckbox()
gcccm GUICtrlCreateContextMenu()
gccda GUICtrlCreateDate()
gccdu GUICtrlCreateDummy()
gcce GUICtrlCreateEdit()
gccg GUICtrlCreateGroup()
gccgc GUICtrlCreateGroup('', -99, -99, 1, 1); グループ終了
gccgr GUICtrlCreateGraphic()
gcci GUICtrlCreateInput()
gccico GUICtrlCreateIcon()
gccla GUICtrlCreateLabel()
gccli GUICtrlCreateList()
gccm GUICtrlCreateMenu()
gccmc GUICtrlCreateMonthCal()
gccmi GUICtrlCreateMenuItem()
gccco GUICtrlCreateCombo()
gcco GUICtrlCreateObject()
gccpi GUICtrlCreatePic()
gccpr GUICtrlCreateProgress()
gccr GUICtrlCreateRadio()
gccs GUICtrlCreateSlider()
gcct GUICtrlCreateTab()
gccti GUICtrlCreateTabItem()
gcctic GUICtrlCreateTabItem(''); タブアイテム終了
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()
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()
ig InetGet()
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()
mc MouseClick()
mcd MouseClickDrag()
md MouseDown()
mgc MouseGetCursor()
mgp MouseGetPos()
mgs MemGetStats()
mm MouseMove()
mu MouseUp()
mw MouseWheel()
num Number()
oae OnAutoItExit()
oas OnAutoItStart()
ocr ObjCreate()
oev ObjEvent()
oge ObjGet()
pc ProcessClose()
pcs PixelChecksum()
pe ProcessExists()
pgc PixelGetColor()
pic PluginClose()
pio PluginOpen()
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()
tcpc 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()
trayt 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()

ファイル

autoit3 C:\Program Files\Autoit3\AutoIt3\AutoIt3.exe
aut2exe C:\Program Files\Autoit3\Aut2Exe\Aut2Exe.exe
icon C:\Program Files\Autoit3\Aut2Exe\Icons\.ico
scite C:\Program Files\Autoit3\Scite\SciTe.exe

ディレクトリ

autoit3dir C:\Program Files\Autoit3
aut2exedir C:\Program Files\Autoit3\Aut2Exe
icondir C:\Program Files\Autoit3\Icons
includedir C:\Program Files\Autoit3\Include
scitedir C:\Program Files\Autoit3\Scite

変数の接頭辞

chk $checkbox_
inp $input_
lbl $label_
but $button_
rad $radio_
tab $tab_
edt $edit_

GUICtrlReadの定数

gchecked $GUI_CHECKED
gunchecked $GUI_UNCHECKED

GUICtrlStateの定数

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

イベント定数

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

事前選択済みコマンド

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

GUIに共通な関数の接頭辞

gcc GUICtrlCreate
gcs GUICtrlSet

マクロ

cr1  & @CRLF
cr2  & @CRLF & @CRLF
cr3  & @CRLF & @CRLF & @CRLF
cr4  & @CRLF & @CRLF & @CRLF & @CRLF
cr5  & @CRLF & @CRLF & @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

キーワード

cl ContinueLoop
el ExitLoop
err @Error
ext @Extended

命令

include #include <GUIConstants.au3>
includeonce #include-once
reg #region -
ereg #endregion
nti #NoTrayIcon

複数行からなる構造

ifthen IfThen
EndIf
ifelse IfThen
Else
EndIf
ifelseif IfThen
ElseIf
Else
EndIf
dountil Do
    |
Until
fornext For $i = To Step 1
Next
fun Func _|()
EndFunc
selectcase Select
    Case |
    Case
    Case
    Case
    Case Else
EndSelect
more     Case |
    Case
    Case
    Case
    Case Else 
whilewend While |
WEnd

構造の開始

for0 For $i = 0 To |
for1 For $i = 1 To |
for0ub For $i = 0 To UBound(|)
for1ub For $i = 1 To UBound(|)

GUIのセットアップ

setupgui #include <GUIConstants.au3>

#region - GUI Create
GUICreate(|)

GUISetState(@SW_SHOW)
#endregion

selectloop

functions
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
moremsg |
Case $msg =    
Case $msg =
Case $msg =
Case $msg =
Case $msg =
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

自動削除関数

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への命令

a3w

a3w2
#region - AutoIt3Wrapper Directives
#AutoIt3Wrapper_UseAnsi=
#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_Obfuscator=
#obfuscator_parameters=
#AutoIt3Wrapper_Run_AU3Check=
#AutoIt3Wrapper_AU3Check_Parameters=
#AutoIt3Wrapper_AU3Check_Stop_OnWarning=
#AutoIt3Wrapper_PlugIn_Funcs=
#AutoIt3Wrapper_Run_cvsWrapper=
#AutoIt3Wrapper_cvsWrapper_Parameters=
#AutoIt3Wrapper_Run_Before=
#AutoIt3Wrapper_Run_After=
#endregion

オプション

options #region - Options|
;~ Opt('CaretCoordMode', 0)
;~ Opt('ExpandEnvStrings', 1)
;~ Opt('ExpandVarStrings', 1)
;~ Opt('FtpBinaryMode', 0)
;~ Opt('GUICloseOnESC', 0)
;~ Opt('GUICoordMode', 2)
;~ Opt('GUIDataSeparatorChar', '')
;~ Opt('GUIEventOptions', 1)
;~ Opt('GUIOnEventMode', 1)
;~ Opt('GUIResizeMode', 1)
;~ Opt('MouseClickDelay', 10)
;~ Opt('MouseClickDownDelay', 10)
;~ Opt('MouseClickDragDelay', 250)
;~ Opt('MouseCoordMode', 0)
;~ Opt('MustDeclareVars', 1)
;~ Opt('OnExitFunc', '')
;~ Opt('PixelCoordMode', 0)
;~ Opt('SendAttachMode', 1)
;~ Opt('SendCapslockMode', 0)
;~ Opt('SendKeyDelay', 5)
;~ Opt('SendKeyDownDelay', 1)
;~ Opt('TCPTimeout', 100)
;~ Opt('TrayAutoPause', 0)
;~ Opt('TrayIconDebug', 1)
;~ Opt('TrayIconHide', 1)
;~ Opt('TrayMenuMode', 1)
;~ Opt('TrayOnEventMode', 1)
;~ Opt('WinDetectHiddenText', 1)
;~ Opt('WinSearchChildren', 1)
;~ Opt('WinTextMatchMode', 4)
;~ Opt('WinTitleMatchMode', 4)
;~ Opt('WinWaitDelay', 250)
#endregion

UDFヘッダーのセットアップ

setupudf ;===============================================================================
;
; Description:         :
; Parameter(s):      :
; Requirement:       :
; Return Value(s):  :
; Author(s):           :
; Note(s):              :
;
;===============================================================================
;