Archiv der Kategorie: Editor

Language IDs

Language IDs

ID Language
1025 Arabic
1041 Japanese
1028 Chinese – Traditional
1042 Korean
1029 Czech
1043 Dutch
1030 Danish
1044 Norwegian
1031 German
1045 Polish
1032 Greek
1046 Portuguese – Brazilian
1033 English
1049 Russian
1034 Spanish
1053 Swedish
1035 Finnish
1054 Thai
1036 French
1055 Turkish
1037 Hebrew
2052 Chinese – Simplified
1038 Hungarian
2070 Portuguese
1040 Italian
3076 Chinese – Hong Kong SAR 

Scite4Autoit Abkürzungsliste

Scite4Autoit Abkürzungsliste

Quelle:    http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/SciTE4AutoIt3-AbbreviationList.html

Self Expanding Abbreviations Reference

Abk. 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(| & @LF)
cwr ConsoleWrite("! |" & @LF)
cwg ConsoleWrite("+ |" & @LF)
cwb ConsoleWrite("> |" & @LF)
cwo 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); Close group.
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('') ; 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()
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()
mc MouseClick()
mcd MouseClickDrag()
md MouseDown()
mgc MouseGetCursor()
mgp MouseGetPos()
mgs MemGetStats()
mm MouseMove()
mu MouseUp()
mw MouseWheel()
num Number()
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()
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()
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()

Variable prefixes 

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

Misc Variables 

hnd $handle_
regkey $registry_Key
regval $$registry_Value
regdat $registry_Data
error $error
errval $iErrorValue = @error
|
extval $iExtendedValue = @extended
|
retval $vReturnValue =
iret $iReturn =
aret $aReturn =
bret $bReturn =
dret $dReturn =
vret $vReturn =
result $Result =

CMDLine Functions 

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

Constants for GUICtrlRead 

gchecked $GUI_CHECKED
gunchecked $GUI_UNCHECKED

Constants for GUICtrlState 

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

Constants for Events 

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

PreSelected Commands  

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

GUI Common Prefixes to Functions 

gcc GUICtrlCreate
gcs GUICtrlSet

Macros  

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

Keywords  

cl ContinueLoop
el ExitLoop
err @Error
ext @Extended

Directives  

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

@error handling 

iferrext If @error Then Return SetError(@error, @extended, '|')
 
iferrext2 If @error Then Return SetError(@error, @extended, '|')
  ;  Return SetError(@error , @extended , "|" )
> Else
    EndIf
 
iferrmsg If @error Then MsgBox($MB_ICONERROR, '|', _
      '@error = ' & @error & @CRLF & '@extended = ' & @extended)
 
switcherr Switch @error
    Case  |
    Case  
    Case  
    Case  
Case Else  
EndSwitch
 

Multiline Structures 

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

Start of Structures

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

Setup GUI  

setupgui #include <GUIConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.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

Say Function 

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 function  

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 

a3w

 

a3w2

#Region AutoIt3Wrapper Directives
#AutoIt3Wrapper_UseX64=
#AutoIt3Wrapper_Version=
#AutoIt3Wrapper_Run_Debug_Mode=
#AutoIt3Wrapper_Run_SciTE_Minimized=
#AutoIt3Wrapper_Run_SciTE_OutputPane_Minimized=
#AutoIt3Wrapper_Icon=
#AutoIt3Wrapper_OutFile=
#AutoIt3Wrapper_OutFile_Type=
#AutoIt3Wrapper_Compression=
#AutoIt3Wrapper_UseUpx=
#AutoIt3Wrapper_UPX_Parameters=
#AutoIt3Wrapper_Change2CUI=
#AutoIt3Wrapper_Res_Comment=
#AutoIt3Wrapper_Res_Description=
#AutoIt3Wrapper_Res_Fileversion=
#AutoIt3Wrapper_Res_FileVersion_AutoIncrement=
#AutoIt3Wrapper_Res_ProductVersion=
#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=
#AutoIt3Wrapper_Add_Constants=
#EndRegion

Options  

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('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

Setup UDF header  

setupudf    
; #FUNCTION# ============================================
; Name………..:
; Description …:
; Syntax………:
; Parameters ….:
; Return values .:
; Author ……..:
; Modified…….:
; Remarks …….:
; Related …….:
; Link ……….:
; Example …….:
; ======================================================


 

Script switches  

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

Benutzer definierte Abkürzungen

Benutzer definierte Abkürzungen

Infos: http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/abbrev-manager.html

Man kann im SciteEditor4Autoit Abkürzungen definieren, die beim Schreiben viel Zeit sparen können.

z.B.:

man tippt mb<Leertaste> und es wird "MessageBox()" angezeigt, wobei der Cursor zwischen den Klammern steht.

Den AbkürzungsEditor erreicht mann über das Menü im SciteEditor:
Tools – Scite Config (Ctrl + 1) – Other Tools – Run Abbrev Manager


http://landesk14.de.flg.int:1234/wiki/files/global/SciteAbk_1.jpg


http://landesk14.de.flg.int:1234/wiki/files/global/SciteAbk_2.jpg

Um neue Abkürzungen zu erstellen, schreibt man die Abkürzung (kleine Buchstaben) in das Eingabefeld und klickt den "Create" Button.
In der neuen Eingabe gibt man nun die Zeichen ein, die später in den Editor eingefügt werden sollen.
Um den Cursor an einer bestimmten Stelle zu plazieren, fügt man dort einen senkrechten Strich | ein.

Mit Save werden die Einstellungen übernommen und können sofort genutzt werden.

Viele Abkürzungen sind schon im System vorhanden: Abk. Liste

TIDY

TIDY

Your can run Tidy in 3 ways:

  1. Run it from within SciTE by pressing "Ctrl" + "T".
  2. Just start the program Tidy.exe and you will be prompted for the filename.
  3. Right Mouse Click on your AU3 script and select Tidy.
This is only available when you have used the SciTE4AutoIt3 installer.


When Tidy is run without any parameter you will be prompted for the input file.

Compiler Anweisungen

Compiler Anweisungen

#Region AutoIt3Wrapper directives section
;** 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
#AutoIt3Wrapper_Run_SciTE_Minimized= ;(Y/N) Minimize SciTE while script is running. Default=n
#AutoIt3Wrapper_Run_SciTE_OutputPane_Minimized= ;(Y/N) Toggle SciTE output pane at run time so its not shown. Default=n
#AutoIt3Wrapper_Autoit3Dir= ;Optionally override the base AutoIt3 install directory.
#AutoIt3Wrapper_Aut2exe= ;Optionally override the Aut2exe.exe to use for this script
#AutoIt3Wrapper_AutoIt3= ;Optionally override the Autoit3.exe to use for this script
;===============================================================================================================
;** 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_OutFile_X64= ;Target exe filename for X64 compile.
#AutoIt3Wrapper_Compression= ;Compression parameter 0-4 0=Low 2=normal 4=High. Default=2
#AutoIt3Wrapper_UseUpx= ;(Y/N) Compress output program. Default=Y
#AutoIt3Wrapper_UPX_Parameters= ;Override the default setting for UPX.
#AutoIt3Wrapper_Change2CUI= ;(Y/N) Change output program to CUI in stead of GUI. Default=N
#AutoIt3Wrapper_Compile_both= ;(Y/N) Compile both X86 and X64 in one run. 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_ProductVersion= ;Product Version. Default is the AutoIt3 version used.
#AutoIt3Wrapper_Res_Language= ;Resource Language code . default 2057=English (United Kingdom)
#AutoIt3Wrapper_Res_Language=1031 ;Resource Language code . 1031=Deutsch (Standard)
#AutoIt3Wrapper_Res_LegalCopyright= ;Copyright field
#AutoIt3Wrapper_res_requestedExecutionLevel= ;None, asInvoker, highestAvailable or requireAdministrator (default=None)
#AutoIt3Wrapper_res_Compatibility= ;Vista,Windows7 Both allowed separated by a comma (default=None)
#AutoIt3Wrapper_Res_SaveSource= ;(Y/N) Save a copy of the Scriptsource in the EXE resources. default=N
; If _Res_SaveSource=Y the content of Scriptsource depends on the _Run_Obfuscator and #obfuscator_parameters directives:
;
; If _Run_Obfuscator=Y then
; If #obfuscator_parameters=/STRIPONLY then Scriptsource is stripped script & stripped includes
; If #obfuscator_parameters=/STRIPONLYINCLUDES then Scriptsource is original script & stripped includes
; With any other parameters, the SaveSource directive is ignored as obfuscation is intended to protect the source
; If _Run_Obfuscator=N or is not set then
; Scriptsource is original script only
; Autoit3Wrapper indicates the SaveSource action taken in the SciTE console during compilation
; See SciTE4AutoIt3 Helpfile for more detail on Obfuscator parameters
;
;
; 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, 5) etc
; list of filename of the Ico files to be added, First one will have number 5, then 6 ..etc
#AutoIt3Wrapper_Res_Icon_Add= ; Filename[,LanguageCode] of ICO to be added.
#AutoIt3Wrapper_Res_Icon_Add= ; Filename[,LanguageCode] of ICO to be added.
; Add extra files to the resources
#AutoIt3Wrapper_Res_File_Add= ; Filename[,Section [,ResName[,LanguageCode]]] to be added.
#AutoIt3Wrapper_Res_File_Add= ; Filename[,Section [,ResName[,LanguageCode]]] 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
;===============================================================================================================
; Obfuscator
#AutoIt3Wrapper_Run_Obfuscator= ;(Y/N) Run Obfuscator before compilation. default=N
#obfuscator_parameters=
;===============================================================================================================
; AU3Check settings
#AutoIt3Wrapper_Run_AU3Check= ;(Y/N) Run au3check before compilation. Default=Y
#AutoIt3Wrapper_AU3Check_Parameters= ;Au3Check parameters
#AutoIt3Wrapper_AU3Check_Parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6 ;Au3Check parameters
Possible Parameters:

-q : quiet (only error/warn output)
-d : as Opt("MustDeclareVars", 1)
-I dir : additional directories for searching include files
-U -|file : output unreferenced UDFs and global variables
-w 1 : already included file (on)
-w 2 : missing #comments-end (on)
-w 3 : already declared var (off)
-w 4 : local var used in global scope (off)
-w 5 : local var declared but not used (off)
-w 6 : warn when using Dim (off)
-v 1 : show include paths/files (off)
-v 2 : show lexer tokens (off)


#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_Run_cvsWrapper= ;(Y/N/V) Run cvsWrapper to update the script source. default=N
; V=only when version is increased by #AutoIt3Wrapper_Res_FileVersion_AutoIncrement.
#AutoIt3Wrapper_cvsWrapper_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%, %outx64%, %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
;===============================================================================================================
; RUN BEFORE AND AFTER definitions
#AutoIt3Wrapper_Add_Constants= ;Add the needed standard constant include files. Will only run one time.
#EndRegion

Autoit Editor Info

Autoit Editor Info

Den Editor unbedingt auf File – Encoding – UTF8 einstellen!

Link zum WiKi

Hilfe zum Editor mit "Strg" + "F1"

Syntax-Check mit "Strg" + "F5"

Script kompilieren mit "F7"

Script mit Optionen kompilieren mit "Strg" + "F7"

Springe zu Regionen mit "SciTE-Jump": "Strg" + "Alt" + "J" oder "Tools" + "SciTE Jump"

Syntaxfehler werden im "Output-Window" angezeigt.
Dort doppelt auf die rote Zeile klicken, und der Cursor springt zur entsprechenden Zeile im Script.

Man kann im Site-Editor Regionen manuell definieren:
#region

diese Regionen kann man dann
über die + und – Zeichen
ein- und ausblenden.

#endregion

Features

  • Customized Syntax highlighting.
  • AutoComplete AutoIt3 commands automatically (suggest the option in a dropdownbox while typing), just hit ENTER or TAB to Autocomplete.)
  • AutoComplete anything already in the script, like variable and Func names, with Ctrl+Enter.
  • Intellisense (Show a ToolTip with the parameter expected in the selected function).
  • Code folding for easy code viewing.
  • Auto indentation while typing.
  • F1 – open Helpfile on the keyword were the cursor is located.
  • Alt+F1 – open the Beta Helpfile on the keyword were the cursor is located.
  • Shift+F1 will bring up a Popup screen showing all AutoIt3 functions. Just Double-Click or Enter on the function you need and it will be pasted back into your script. It Also has a dynamic Help facility!
  • Ctrl+F1 – open this Helpfile.
  • Ctrl+1 – open SciTEConfig.exe program to change the several settings is SciTE like Font/Color/Tools and several other.
  • F5 – Run Au3Check and when no errors/warnings found run AutoIt3.exe.
  • Alt+F5 – Run BETA versions of Tylo's Au3Check and when no errors/warnings found run AutoIt3.exe.
  • Ctrl+F5 – Run SyntaxCheck with the latest Production definitions, showing all Syntax errors and possible issues with variable declarations. (See details)
  • Ctrl+Alt+F5 – Run SyntaxCheck with the latest Beta definitions, showing all Syntax errors and possible issues with variable declarations. (See details)
  • Alt+F6 – Run Larry's AU3Recorder to record clicks and keystrokes and write this into your AutoIt Script.
  • Ctrl+F6 – Run AU3Info to detect the Text and Names of controls on the program windows.
  • F7 – Build: Run Au3Check and when no errors/warnings found run AU3EXE.
  • Alt+F7 – Build: Run BETA version of Tylo's Au3Check and when no errors/warnings found run AU3EXE.
  • Ctrl+F7 – AutoIt3Wrapper: Build (compile) your script with Options to change Compiler version, ICON, Passphrase or compression, Update Resource info of the target program like Program version etc.
  • Ctrl+T will run Tidy.exe to auto indent and Tidy your AutoIt3 source file.
  • Alt+W will run CodeWizard.exe which assists you in creating MsgBox, InputBox() and more.
  • Alt+M will run Koda formdesigner wrtten by Lookfar and Lazycat, another tool to create a GUI.
  • Ctrl+Alt+j will Run SciTEJump.
  • Ctrl+Alt+s will Run the Snippet holder

Several LUA scripts to enhance SciTE editing.

  • Insert a copy of the Bookmarked line(s) – Ctrl+Alt+B
  • This functions will insert all Bookmarked lines at the beginning for the current line.
  • Lines can be Bookmarked by pressing Ctrl+F2.
  • Jump to the "Func ???" definition of the functionname under the Cursor – Ctrl+J
  • It will also Bookmark the original line to enable you to jump back to the original line with F2.
  • List dropdownbox Ctrl+L with all available Func's in the current script and jumps to selected script. It will also Bookmark the original line to enable you to jump back to the original line with F2.
  • Alt+I – Open #include "" file.
  • Ctrl+Shift+D – Add Debug msgbox
  • This function will add a MSGBOX below the current line that contains the Var the cursor is at
  • $a = $b + 1 (Put the cursor on $b and press Ctrl+Shift+D the following line will be added)
  • MsgBox(4096,'debug:' & $b,$b) ;### Debug MSGBOX
  • Alt+D – Add Debug ConsoleWrite message
  • This function will add a ConsoleWrite line below the current line that contains the Var the cursor is at
  • $a = $b + 1 (Put the cursor on $b and press Alt+D the following line will be added)
  • ConsoleWrite('Line:4 debug ==> $b: ' & $b & @lf) ;### Debug Console
  • Alt+Shift+D – Comment ALL DEBUG MsgBox and ConsoleWrite lines.
  • Ctrl+Alt+D – UnComment ALL Debug MsgBoxes and ConsoleWrite lines.
  • Add TRACE ConsoleWrites to all lines to easily trace your program:Available under Tools/Debug: Add Trace lines
  • Remove ALL Debug MsgBoxes and ConsoleWrite lines: Available under Tools/Debug: Remove ALL lines