codekingpro/portable-devtools
114k
1" Vim syntax file2"3" Language: AutoIt v3 (http://www.autoitscript.com/autoit3/)4" Maintainer: Jared Breland <jbreland@legroom.net>5" Authored By: Riccardo Casini <ric@libero.it>6" Script URL: http://www.vim.org/scripts/script.php?script_id=12397" ChangeLog: Please visit the script URL for detailed change information8" Included change from #970.9 10" Quit when a syntax file was already loaded.11if exists("b:current_syntax")12 finish13endif14let s:keepcpo= &cpo15set cpo&vim16 17let b:current_syntax = "autoit"18 19" AutoIt is not case dependent20syn case ignore21 22" Definitions for AutoIt reserved keywords23syn keyword autoitKeyword Default False True24syn keyword autoitKeyword Const Dim Global Local ReDim25syn keyword autoitKeyword If Else ElseIf Then EndIf26syn keyword autoitKeyword Select Switch Case EndSelect EndSwitch27syn keyword autoitKeyword Enum For In To Step Next28syn keyword autoitKeyword With While EndWith Wend Do Until29syn keyword autoitKeyword ContinueCase ContinueLoop ExitLoop Exit30 31" inside script inclusion and global options32syn match autoitIncluded display contained "<[^>]*>"33syn match autoitInclude display "^\s*#\s*include\>\s*["<]"34 \ contains=autoitIncluded,autoitString35syn match autoitInclude "^\s*#include-once\>"36syn match autoitInclude "^\s*#NoTrayIcon\>"37syn match autoitInclude "^\s*#RequireAdmin\>"38 39" user-defined functions40syn keyword autoitKeyword Func ByRef EndFunc Return OnAutoItStart OnAutoItExit41 42" built-in functions43" environment management44syn keyword autoitFunction ClipGet ClipPut EnvGet EnvSet EnvUpdate MemGetStats45" file, directory, and disk management46syn keyword autoitFunction ConsoleRead ConsoleWrite ConsoleWriteError47syn keyword autoitFunction DirCopy DirCreate DirGetSize DirMove DirRemove48syn keyword autoitFunction DriveGetDrive DriveGetFileSystem DriveGetLabel49 \ DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet50 \ DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus51syn keyword autoitFunction FileChangeDir FileClose FileCopy FileCreateNTFSLink52 \ FileCreateShortcut FileDelete FileExists FileFindFirstFile53 \ FileFindNextFile FileGetAttrib FileGetLongName FileGetShortcut54 \ FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall55 \ FileMove FileOpen FileOpenDialog FileRead FileReadLine FileRecycle56 \ FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib57 \ FileSetTime FileWrite FileWriteLine58syn keyword autoitFunction IniDelete IniRead IniReadSection IniReadSectionNames59 \ IniRenameSection IniWrite IniWriteSection60syn keyword autoitFunction StderrRead StdinWrite StdoutRead61" graphic and sound62syn keyword autoitFunction Beep PixelChecksum PixelGetColor PixelSearch63 \ SoundPlay SoundSetWaveVolume64" gui reference65syn keyword autoitFunction GUICreate GUIDelete GUICtrlGetHandle GUICtrlGetState66 \ GUICtrlRead GUICtrlRecvMsg GUICtrlSendMsg GUICtrlSendToDummy67 \ GUIGetCursorInfo GUIGetMsg GUIRegisterMsg GUIStartGroup GUISwitch68syn keyword autoitFunction GUICtrlCreateAvi GUICtrlCreateButton69 \ GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu70 \ GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit71 \ GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon72 \ GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList73 \ GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu74 \ GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj75 \ GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio76 \ GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem77 \ GUICtrlCreateTreeView GUICtrlCreateTreeViewItem78 \ GUICtrlCreateUpDown GUICtrlDelete79syn keyword autoitFunction GUICtrlRegisterListViewSort GUICtrlSetBkColor80 \ GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetFont81 \ GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent82 \ GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle83 \ GUICtrlSetTip84syn keyword autoitFunction GUISetBkColor GUISetCoord GUISetCursor GUISetFont85 \ GUISetHelp GUISetIcon GUISetOnEvent GUISetState86" keyboard control87syn keyword autoitFunction HotKeySet Send88" math89syn keyword autoitFunction Abs ACos ASin ATan BitAND BitNOT BitOR BitRotate90 \ BitShift BitXOR Cos Ceiling Exp Floor Log Mod Random Round Sin Sqrt91 \ SRandom Tan92" message boxes and dialogs93syn keyword autoitFunction InputBox MsgBox ProgressOff ProgressOn ProgressSet94 \ SplashImageOn SplashOff SplashTextOn ToolTip95" miscellaneous96syn keyword autoitFunction AdlibDisable AdlibEnable AutoItSetOption97 \ AutoItWinGetTitle AutoItWinSetTitle BlockInput Break Call CDTray98 \ Execute Opt SetError SetExtended99" mouse control100syn keyword autoitFunction MouseClick MouseClickDrag MouseDown MouseGetCursor101 \ MouseGetPos MouseMove MouseUp MouseWheel102" network103syn keyword autoitFunction FtpSetProxy HttpSetProxy InetGet InetGetSize Ping104 \ TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIp TCPRecv105 \ TCPSend TCPShutDown TCPStartup UDPBind UDPCloseSocket UDPOpen UDPRecv106 \ UDPSend UDPShutdown UDPStartup107" obj/com reference108syn keyword autoitFunction ObjCreate ObjEvent ObjGet ObjName109" process management110syn keyword autoitFunction DllCall DllClose DllOpen DllStructCreate111 \ DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData112 \ ProcessClose ProcessExists ProcessSetPriority ProcessList ProcessWait113 \ ProcessWaitClose Run RunAsSet RunWait ShellExecute ShellExecuteWait114 \ Shutdown115 " removed from 3.2.0 docs - PluginClose PluginOpen116" registry management117syn keyword autoitFunction RegDelete RegEnumKey RegEnumVal RegRead RegWrite118" string management119syn keyword autoitFunction StringAddCR StringFormat StringInStr StringIsAlNum120 \ StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt121 \ StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft122 \ StringLen StringLower StringMid StringRegExp StringRegExpReplace123 \ StringReplace StringRight StringSplit StringStripCR StringStripWS124 \ StringTrimLeft StringTrimRight StringUpper125" timer and delay126syn keyword autoitFunction Sleep TimerInit TimerDiff127" tray128syn keyword autoitFunction TrayCreateItem TrayCreateMenu TrayItemDelete129 \ TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent130 \ TrayItemSetState TrayItemSetText TrayGetMsg TraySetClick TraySetIcon131 \ TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip132" variables and conversions133syn keyword autoitFunction Asc Assign Binary Chr Dec Eval Hex HWnd Int IsAdmin134 \ IsArray IsBinaryString IsBool IsDeclared IsDllStruct IsFloat IsHWnd135 \ IsInt IsKeyword IsNumber IsObj IsString Number String UBound136" window management137syn keyword autoitFunction WinActivate WinActive WinClose WinExists WinFlash138 \ WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos139 \ WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList140 \ WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove141 \ WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive142 \ WinWaitClose WinWaitNotActive143syn keyword autoitFunction ControlClick ControlCommand ControlDisable144 \ ControlEnable ControlFocus ControlGetFocus ControlGetHandle145 \ ControlGetPos ControlGetText ControlHide ControlListView ControlMove146 \ ControlSend ControlSetText ControlShow StatusBarGetText147 148" user defined functions149" array150syn keyword autoitFunction _ArrayAdd _ArrayBinarySearch _ArrayCreate151 \ _ArrayDelete _ArrayDisplay _ArrayInsert _ArrayMax _ArrayMaxIndex152 \ _ArrayMin _ArrayMinIndex _ArrayPop _ArrayPush _ArrayReverse153 \ _ArraySearch _ArraySort _ArraySwap _ArrayToClip _ArrayToString154 \ _ArrayTrim155" color156syn keyword autoitFunction _ColorgetBlue _ColorGetGreen _ColorGetRed157" date158syn keyword autoitFunction _DateAdd _DateDayOfWeek _DateDaysInMonth _DateDiff159 \ _DateIsLeapYear _DateIsValid _DateTimeFormat _DateTimeSplit160 \ _DateToDayOfWeek _ToDayOfWeekISO _DateToDayValue _DayValueToDate _Now161 \ _NowCalc _NowCalcDate _NowDate _NowTime _SetDate _SetTime _TicksToTime162 \ _TimeToTicks _WeekNumberISO163" file164syn keyword autoitFunction _FileCountLines _FileCreate _FileListToArray165 \ _FilePrint _FileReadToArray _FileWriteFromArray _FileWriteLog166 \ _FileWriteToLine _PathFull _PathMake _PathSplit _ReplaceStringInFile167 \ _TempFile168" guicombo169syn keyword autoitFunction _GUICtrlComboAddDir _GUICtrlComboAddString170 \ _GUICtrlComboAutoComplete _GUICtrlComboDeleteString171 \ _GUICtrlComboFindString _GUICtrlComboGetCount _GUICtrlComboGetCurSel172 \ _GUICtrlComboGetDroppedControlRect _GUICtrlComboGetDroppedState173 \ _GUICtrlComboGetDroppedWidth _GUICtrlComboGetEditSel174 \ _GUICtrlComboGetExtendedUI _GUICtrlComboGetHorizontalExtent175 \ _GUICtrlComboGetItemHeight _GUICtrlComboGetLBText176 \ _GUICtrlComboGetLBTextLen _GUICtrlComboGetList _GUICtrlComboGetLocale177 \ _GUICtrlComboGetMinVisible _GUICtrlComboGetTopIndex178 \ _GUICtrlComboInitStorage _GUICtrlComboInsertString179 \ _GUICtrlComboLimitText _GUICtrlComboResetContent180 \ _GUICtrlComboSelectString _GUICtrlComboSetCurSel181 \ _GUICtrlComboSetDroppedWidth _GUICtrlComboSetEditSel182 \ _GUICtrlComboSetExtendedUI _GUICtrlComboSetHorizontalExtent183 \ _GUICtrlComboSetItemHeight _GUICtrlComboSetMinVisible184 \ _GUICtrlComboSetTopIndex _GUICtrlComboShowDropDown185" guiedit186syn keyword autoitFunction _GUICtrlEditCanUndo _GUICtrlEditEmptyUndoBuffer187 \ _GuiCtrlEditFind _GUICtrlEditGetFirstVisibleLine _GUICtrlEditGetLine188 \ _GUICtrlEditGetLineCount _GUICtrlEditGetModify _GUICtrlEditGetRect189 \ _GUICtrlEditGetSel _GUICtrlEditLineFromChar _GUICtrlEditLineIndex190 \ _GUICtrlEditLineLength _GUICtrlEditLineScroll _GUICtrlEditReplaceSel191 \ _GUICtrlEditScroll _GUICtrlEditSetModify _GUICtrlEditSetRect192 \ _GUICtrlEditSetSel _GUICtrlEditUndo193" guiipaddress194syn keyword autoitFunction _GUICtrlIpAddressClear _GUICtrlIpAddressCreate195 \ _GUICtrlIpAddressDelete _GUICtrlIpAddressGet _GUICtrlIpAddressIsBlank196 \ _GUICtrlIpAddressSet _GUICtrlIpAddressSetFocus197 \ _GUICtrlIpAddressSetFont198 \ _GUICtrlIpAddressSetRange _GUICtrlIpAddressShowHide199" guilist200syn keyword autoitFunction _GUICtrlListAddDir _GUICtrlListAddItem201 \ _GUICtrlListClear202 \ _GUICtrlListCount _GUICtrlListDeleteItem _GUICtrlListFindString203 \ _GUICtrlListGetAnchorIndex _GUICtrlListGetCaretIndex204 \ _GUICtrlListGetHorizontalExtent _GUICtrlListGetInfo205 \ _GUICtrlListGetItemRect _GUICtrlListGetLocale _GUICtrlListGetSelCount206 \ _GUICtrlListGetSelItems _GUICtrlListGetSelItemsText207 \ _GUICtrlListGetSelState _GUICtrlListGetText _GUICtrlListGetTextLen208 \ _GUICtrlListGetTopIndex _GUICtrlListInsertItem209 \ _GUICtrlListReplaceString _GUICtrlListSelectedIndex210 \ _GUICtrlListSelectIndex _GUICtrlListSelectString211 \ _GUICtrlListSelItemRange _GUICtrlListSelItemRangeEx212 \ _GUICtrlListSetAnchorIndex _GUICtrlListSetCaretIndex213 \ _GUICtrlListSetHorizontalExtent _GUICtrlListSetLocale214 \ _GUICtrlListSetSel _GUICtrlListSetTopIndex _GUICtrlListSort215 \ _GUICtrlListSwapString216" guilistview217syn keyword autoitFunction _GUICtrlListViewCopyItems218 \ _GUICtrlListViewDeleteAllItems _GUICtrlListViewDeleteColumn219 \ _GUICtrlListViewDeleteItem _GUICtrlListViewDeleteItemsSelected220 \ _GUICtrlListViewEnsureVisible _GUICtrlListViewFindItem221 \ _GUICtrlListViewGetBackColor _GUICtrlListViewGetCallBackMask222 \ _GUICtrlListViewGetCheckedState _GUICtrlListViewGetColumnOrder223 \ _GUICtrlListViewGetColumnWidth _GUICtrlListViewGetCounterPage224 \ _GUICtrlListViewGetCurSel _GUICtrlListViewGetExtendedListViewStyle225 \ _GUICtrlListViewGetHeader _GUICtrlListViewGetHotCursor226 \ _GUICtrlListViewGetHotItem _GUICtrlListViewGetHoverTime227 \ _GUICtrlListViewGetItemCount _GUICtrlListViewGetItemText228 \ _GUICtrlListViewGetItemTextArray _GUICtrlListViewGetNextItem229 \ _GUICtrlListViewGetSelectedCount _GUICtrlListViewGetSelectedIndices230 \ _GUICtrlListViewGetSubItemsCount _GUICtrlListViewGetTopIndex231 \ _GUICtrlListViewGetUnicodeFormat _GUICtrlListViewHideColumn232 \ _GUICtrlListViewInsertColumn _GUICtrlListViewInsertItem233 \ _GUICtrlListViewJustifyColumn _GUICtrlListViewScroll234 \ _GUICtrlListViewSetCheckState _GUICtrlListViewSetColumnHeaderText235 \ _GUICtrlListViewSetColumnOrder _GUICtrlListViewSetColumnWidth236 \ _GUICtrlListViewSetHotItem _GUICtrlListViewSetHoverTime237 \ _GUICtrlListViewSetItemCount _GUICtrlListViewSetItemSelState238 \ _GUICtrlListViewSetItemText _GUICtrlListViewSort239" guimonthcal240syn keyword autoitFunction _GUICtrlMonthCalGet1stDOW _GUICtrlMonthCalGetColor241 \ _GUICtrlMonthCalGetDelta _GUICtrlMonthCalGetMaxSelCount242 \ _GUICtrlMonthCalGetMaxTodayWidth _GUICtrlMonthCalGetMinReqRect243 \ _GUICtrlMonthCalSet1stDOW _GUICtrlMonthCalSetColor244 \ _GUICtrlMonthCalSetDelta _GUICtrlMonthCalSetMaxSelCount245" guislider246syn keyword autoitFunction _GUICtrlSliderClearTics _GUICtrlSliderGetLineSize247 \ _GUICtrlSliderGetNumTics _GUICtrlSliderGetPageSize248 \ _GUICtrlSliderGetPos _GUICtrlSliderGetRangeMax249 \ _GUICtrlSliderGetRangeMin _GUICtrlSliderSetLineSize250 \ _GUICtrlSliderSetPageSize _GUICtrlSliderSetPos251 \ _GUICtrlSliderSetTicFreq252" guistatusbar253syn keyword autoitFunction _GuiCtrlStatusBarCreate254 \ _GUICtrlStatusBarCreateProgress _GUICtrlStatusBarDelete255 \ _GuiCtrlStatusBarGetBorders _GuiCtrlStatusBarGetIcon256 \ _GuiCtrlStatusBarGetParts _GuiCtrlStatusBarGetRect257 \ _GuiCtrlStatusBarGetText _GuiCtrlStatusBarGetTextLength258 \ _GuiCtrlStatusBarGetTip _GuiCtrlStatusBarGetUnicode259 \ _GUICtrlStatusBarIsSimple _GuiCtrlStatusBarResize260 \ _GuiCtrlStatusBarSetBKColor _GuiCtrlStatusBarSetIcon261 \ _GuiCtrlStatusBarSetMinHeight _GUICtrlStatusBarSetParts262 \ _GuiCtrlStatusBarSetSimple _GuiCtrlStatusBarSetText263 \ _GuiCtrlStatusBarSetTip _GuiCtrlStatusBarSetUnicode264 \ _GUICtrlStatusBarShowHide 265" guitab266syn keyword autoitFunction _GUICtrlTabDeleteAllItems _GUICtrlTabDeleteItem267 \ _GUICtrlTabDeselectAll _GUICtrlTabGetCurFocus _GUICtrlTabGetCurSel268 \ _GUICtrlTabGetExtendedStyle _GUICtrlTabGetItemCount269 \ _GUICtrlTabGetItemRect _GUICtrlTabGetRowCount270 \ _GUICtrlTabGetUnicodeFormat _GUICtrlTabHighlightItem271 \ _GUICtrlTabSetCurFocus _GUICtrlTabSetCurSel272 \ _GUICtrlTabSetMinTabWidth _GUICtrlTabSetUnicodeFormat273" guitreeview274syn keyword autoitFunction _GUICtrlTreeViewDeleteAllItems275 \ _GUICtrlTreeViewDeleteItem _GUICtrlTreeViewExpand276 \ _GUICtrlTreeViewGetBkColor _GUICtrlTreeViewGetCount277 \ _GUICtrlTreeViewGetIndent _GUICtrlTreeViewGetLineColor278 \ _GUICtrlTreeViewGetParentHandle _GUICtrlTreeViewGetParentID279 \ _GUICtrlTreeViewGetState _GUICtrlTreeViewGetText280 \ _GUICtrlTreeViewGetTextColor _GUICtrlTreeViewItemGetTree281 \ _GUICtrlTreeViewInsertItem _GUICtrlTreeViewSetBkColor282 \ _GUICtrlTreeViewSetIcon _GUICtrlTreeViewSetIndent283 \ _GUICtrlTreeViewSetLineColor GUICtrlTreeViewSetState284 \ _GUICtrlTreeViewSetText _GUICtrlTreeViewSetTextColor285 \ _GUICtrlTreeViewSort286" ie287syn keyword autoitFunction _IE_Example _IE_Introduction _IE_VersionInfo288 \ _IEAction _IEAttach _IEBodyReadHTML _IEBodyReadText _IEBodyWriteHTML289 \ _IECreate _IECreateEmbedded _IEDocGetObj _IEDocInsertHTML290 \ _IEDocInsertText _IEDocReadHTML _IEDocWriteHTML291 \ _IEErrorHandlerDeRegister _IEErrorHandlerRegister _IEErrorNotify292 \ _IEFormElementCheckboxSelect _IEFormElementGetCollection293 \ _IEFormElementGetObjByName _IEFormElementGetValue294 \ _IEFormElementOptionSelect _IEFormElementRadioSelect295 \ _IEFormElementSetValue _IEFormGetCollection _IEFormGetObjByName296 \ _IEFormImageClick _IEFormReset _IEFormSubmit _IEFrameGetCollection297 \ _IEFrameGetObjByName _IEGetObjByName _IEHeadInsertEventScript298 \ _IEImgClick _IEImgGetCollection _IEIsFrameSet _IELinkClickByIndex299 \ _IELinkClickByText _IELinkGetCollection _IELoadWait _IELoadWaitTimeout300 \ _IENavigate _IEPropertyGet _IEPropertySet _IEQuit301 \ _IETableGetCollection _IETableWriteToArray _IETagNameAllGetCollection302 \ _IETagNameGetCollection303" inet304syn keyword autoitFunction _GetIP _INetExplorerCapable _INetGetSource _INetMail305 \ _INetSmtpMail _TCPIpToName306" math307syn keyword autoitFunction _Degree _MathCheckDiv _Max _Min _Radian308" miscellaneous309syn keyword autoitFunction _ChooseColor _ChooseFont _ClipPutFile _Iif310 \ _IsPressed _MouseTrap _SendMessage _Singleton311" process312syn keyword autoitFunction _ProcessGetName _ProcessGetPriority _RunDOS313" sound314syn keyword autoitFunction _SoundClose _SoundLength _SoundOpen _SoundPause315 \ _SoundPlay _SoundPos _SoundResume _SoundSeek _SoundStatus _SoundStop316" sqlite317syn keyword autoitFunction _SQLite_Changes _SQLite_Close318 \ _SQLite_Display2DResult _SQLite_Encode _SQLite_ErrCode _SQLite_ErrMsg319 \ _SQLite_Escape _SQLite_Exec _SQLite_FetchData _SQLite_FetchNames320 \ _SQLite_GetTable _SQLite_GetTable2D _SQLite_LastInsertRowID321 \ _SQLite_LibVersion _SQLite_Open _SQLite_Query _SQLite_QueryFinalize322 \ _SQLite_QueryReset _SQLite_QuerySingleRow _SQLite_SaveMode323 \ _SQLite_SetTimeout _SQLite_Shutdown _SQLite_SQLiteExe _SQLite_Startup324 \ _SQLite_TotalChanges325" string326syn keyword autoitFunction _HexToString _StringAddComma _StringBetween327 \ _StringEncrypt _StringInsert _StringProper _StringRepeat328 \ _StringReverse _StringToHex329" visa330syn keyword autoitFunction _viClose _viExecCommand _viFindGpib _viGpibBusReset331 \ _viGTL _viOpen _viSetAttribute _viSetTimeout332 333" read-only macros334syn match autoitBuiltin "@AppData\(Common\)\=Dir"335syn match autoitBuiltin "@AutoItExe"336syn match autoitBuiltin "@AutoItPID"337syn match autoitBuiltin "@AutoItVersion"338syn match autoitBuiltin "@COM_EventObj"339syn match autoitBuiltin "@CommonFilesDir"340syn match autoitBuiltin "@Compiled"341syn match autoitBuiltin "@ComputerName"342syn match autoitBuiltin "@ComSpec"343syn match autoitBuiltin "@CR\(LF\)\="344syn match autoitBuiltin "@Desktop\(Common\)\=Dir"345syn match autoitBuiltin "@DesktopDepth"346syn match autoitBuiltin "@DesktopHeight"347syn match autoitBuiltin "@DesktopRefresh"348syn match autoitBuiltin "@DesktopWidth"349syn match autoitBuiltin "@DocumentsCommonDir"350syn match autoitBuiltin "@Error"351syn match autoitBuiltin "@ExitCode"352syn match autoitBuiltin "@ExitMethod"353syn match autoitBuiltin "@Extended"354syn match autoitBuiltin "@Favorites\(Common\)\=Dir"355syn match autoitBuiltin "@GUI_CtrlId"356syn match autoitBuiltin "@GUI_CtrlHandle"357syn match autoitBuiltin "@GUI_DragId"358syn match autoitBuiltin "@GUI_DragFile"359syn match autoitBuiltin "@GUI_DropId"360syn match autoitBuiltin "@GUI_WinHandle"361syn match autoitBuiltin "@HomeDrive"362syn match autoitBuiltin "@HomePath"363syn match autoitBuiltin "@HomeShare"364syn match autoitBuiltin "@HOUR"365syn match autoitBuiltin "@HotKeyPressed"366syn match autoitBuiltin "@InetGetActive"367syn match autoitBuiltin "@InetGetBytesRead"368syn match autoitBuiltin "@IPAddress[1234]"369syn match autoitBuiltin "@KBLayout"370syn match autoitBuiltin "@LF"371syn match autoitBuiltin "@Logon\(DNS\)\=Domain"372syn match autoitBuiltin "@LogonServer"373syn match autoitBuiltin "@MDAY"374syn match autoitBuiltin "@MIN"375syn match autoitBuiltin "@MON"376syn match autoitBuiltin "@MyDocumentsDir"377syn match autoitBuiltin "@NumParams"378syn match autoitBuiltin "@OSBuild"379syn match autoitBuiltin "@OSLang"380syn match autoitBuiltin "@OSServicePack"381syn match autoitBuiltin "@OSTYPE"382syn match autoitBuiltin "@OSVersion"383syn match autoitBuiltin "@ProcessorArch"384syn match autoitBuiltin "@ProgramFilesDir"385syn match autoitBuiltin "@Programs\(Common\)\=Dir"386syn match autoitBuiltin "@ScriptDir"387syn match autoitBuiltin "@ScriptFullPath"388syn match autoitBuiltin "@ScriptLineNumber"389syn match autoitBuiltin "@ScriptName"390syn match autoitBuiltin "@SEC"391syn match autoitBuiltin "@StartMenu\(Common\)\=Dir"392syn match autoitBuiltin "@Startup\(Common\)\=Dir"393syn match autoitBuiltin "@SW_DISABLE"394syn match autoitBuiltin "@SW_ENABLE"395syn match autoitBuiltin "@SW_HIDE"396syn match autoitBuiltin "@SW_LOCK"397syn match autoitBuiltin "@SW_MAXIMIZE"398syn match autoitBuiltin "@SW_MINIMIZE"399syn match autoitBuiltin "@SW_RESTORE"400syn match autoitBuiltin "@SW_SHOW"401syn match autoitBuiltin "@SW_SHOWDEFAULT"402syn match autoitBuiltin "@SW_SHOWMAXIMIZED"403syn match autoitBuiltin "@SW_SHOWMINIMIZED"404syn match autoitBuiltin "@SW_SHOWMINNOACTIVE"405syn match autoitBuiltin "@SW_SHOWNA"406syn match autoitBuiltin "@SW_SHOWNOACTIVATE"407syn match autoitBuiltin "@SW_SHOWNORMAL"408syn match autoitBuiltin "@SW_UNLOCK"409syn match autoitBuiltin "@SystemDir"410syn match autoitBuiltin "@TAB"411syn match autoitBuiltin "@TempDir"412syn match autoitBuiltin "@TRAY_ID"413syn match autoitBuiltin "@TrayIconFlashing"414syn match autoitBuiltin "@TrayIconVisible"415syn match autoitBuiltin "@UserProfileDir"416syn match autoitBuiltin "@UserName"417syn match autoitBuiltin "@WDAY"418syn match autoitBuiltin "@WindowsDir"419syn match autoitBuiltin "@WorkingDir"420syn match autoitBuiltin "@YDAY"421syn match autoitBuiltin "@YEAR"422 423"comments and commenting-out424syn match autoitComment ";.*"425"in this way also #ce alone will be highlighted426syn match autoitCommDelimiter "^\s*#comments-start\>"427syn match autoitCommDelimiter "^\s*#cs\>"428syn match autoitCommDelimiter "^\s*#comments-end\>"429syn match autoitCommDelimiter "^\s*#ce\>"430syn region autoitComment431 \ matchgroup=autoitCommDelimiter432 \ start="^\s*#comments-start\>" start="^\s*#cs\>"433 \ end="^\s*#comments-end\>" end="^\s*#ce\>"434 435"one character operators436syn match autoitOperator "[-+*/&^=<>][^-+*/&^=<>]"me=e-1437"two characters operators438syn match autoitOperator "==[^=]"me=e-1439syn match autoitOperator "<>"440syn match autoitOperator "<="441syn match autoitOperator ">="442syn match autoitOperator "+="443syn match autoitOperator "-="444syn match autoitOperator "*="445syn match autoitOperator "/="446syn match autoitOperator "&="447syn keyword autoitOperator NOT AND OR448 449syn match autoitParen "(\|)"450syn match autoitBracket "\[\|\]"451syn match autoitComma ","452 453"numbers must come after operator '-'454"decimal numbers without a dot455syn match autoitNumber "-\=\<\d\+\>"456"hexadecimal numbers without a dot457syn match autoitNumber "-\=\<0x\x\+\>"458"floating point number with dot (inside or at end)459 460syn match autoitNumber "-\=\<\d\+\.\d*\>"461"floating point number, starting with a dot462syn match autoitNumber "-\=\<\.\d\+\>"463"scientific notation numbers without dots464syn match autoitNumber "-\=\<\d\+e[-+]\=\d\+\>"465"scientific notation numbers with dots466syn match autoitNumber "-\=\<\(\(\d\+\.\d*\)\|\(\.\d\+\)\)\(e[-+]\=\d\+\)\=\>"467 468"string constants469"we want the escaped quotes marked in red470syn match autoitDoubledSingles +''+ contained471syn match autoitDoubledDoubles +""+ contained472"we want the continuation character marked in red473"(also at the top level, not just contained)474syn match autoitCont "_$"475 476" send key list - must be defined before autoitStrings477syn match autoitSend "{!}" contained478syn match autoitSend "{#}" contained479syn match autoitSend "{+}" contained480syn match autoitSend "{^}" contained481syn match autoitSend "{{}" contained482syn match autoitSend "{}}" contained483syn match autoitSend "{SPACE}" contained484syn match autoitSend "{ENTER}" contained485syn match autoitSend "{ALT}" contained486syn match autoitSend "{BACKSPACE}" contained487syn match autoitSend "{BS}" contained488syn match autoitSend "{DELETE}" contained489syn match autoitSend "{DEL}" contained490syn match autoitSend "{UP}" contained491syn match autoitSend "{DOWN}" contained492syn match autoitSend "{LEFT}" contained493syn match autoitSend "{RIGHT}" contained494syn match autoitSend "{HOME}" contained495syn match autoitSend "{END}" contained496syn match autoitSend "{ESCAPE}" contained497syn match autoitSend "{ESC}" contained498syn match autoitSend "{INSERT}" contained499syn match autoitSend "{INS}" contained500syn match autoitSend "{PGUP}" contained501syn match autoitSend "{PGDN}" contained502syn match autoitSend "{F1}" contained503syn match autoitSend "{F2}" contained504syn match autoitSend "{F3}" contained505syn match autoitSend "{F4}" contained506syn match autoitSend "{F5}" contained507syn match autoitSend "{F6}" contained508syn match autoitSend "{F7}" contained509syn match autoitSend "{F8}" contained510syn match autoitSend "{F9}" contained511syn match autoitSend "{F10}" contained512syn match autoitSend "{F11}" contained513syn match autoitSend "{F12}" contained514syn match autoitSend "{TAB}" contained515syn match autoitSend "{PRINTSCREEN}" contained516syn match autoitSend "{LWIN}" contained517syn match autoitSend "{RWIN}" contained518syn match autoitSend "{NUMLOCK}" contained519syn match autoitSend "{CTRLBREAK}" contained520syn match autoitSend "{PAUSE}" contained521syn match autoitSend "{CAPSLOCK}" contained522syn match autoitSend "{NUMPAD0}" contained523syn match autoitSend "{NUMPAD1}" contained524syn match autoitSend "{NUMPAD2}" contained525syn match autoitSend "{NUMPAD3}" contained526syn match autoitSend "{NUMPAD4}" contained527syn match autoitSend "{NUMPAD5}" contained528syn match autoitSend "{NUMPAD6}" contained529syn match autoitSend "{NUMPAD7}" contained530syn match autoitSend "{NUMPAD8}" contained531syn match autoitSend "{NUMPAD9}" contained532syn match autoitSend "{NUMPADMULT}" contained533syn match autoitSend "{NUMPADADD}" contained534syn match autoitSend "{NUMPADSUB}" contained535syn match autoitSend "{NUMPADDIV}" contained536syn match autoitSend "{NUMPADDOT}" contained537syn match autoitSend "{NUMPADENTER}" contained538syn match autoitSend "{APPSKEY}" contained539syn match autoitSend "{LALT}" contained540syn match autoitSend "{RALT}" contained541syn match autoitSend "{LCTRL}" contained542syn match autoitSend "{RCTRL}" contained543syn match autoitSend "{LSHIFT}" contained544syn match autoitSend "{RSHIFT}" contained545syn match autoitSend "{SLEEP}" contained546syn match autoitSend "{ALTDOWN}" contained547syn match autoitSend "{SHIFTDOWN}" contained548syn match autoitSend "{CTRLDOWN}" contained549syn match autoitSend "{LWINDOWN}" contained550syn match autoitSend "{RWINDOWN}" contained551syn match autoitSend "{ASC \d\d\d\d}" contained552syn match autoitSend "{BROWSER_BACK}" contained553syn match autoitSend "{BROWSER_FORWARD}" contained554syn match autoitSend "{BROWSER_REFRESH}" contained555syn match autoitSend "{BROWSER_STOP}" contained556syn match autoitSend "{BROWSER_SEARCH}" contained557syn match autoitSend "{BROWSER_FAVORITES}" contained558syn match autoitSend "{BROWSER_HOME}" contained559syn match autoitSend "{VOLUME_MUTE}" contained560syn match autoitSend "{VOLUME_DOWN}" contained561syn match autoitSend "{VOLUME_UP}" contained562syn match autoitSend "{MEDIA_NEXT}" contained563syn match autoitSend "{MEDIA_PREV}" contained564syn match autoitSend "{MEDIA_STOP}" contained565syn match autoitSend "{MEDIA_PLAY_PAUSE}" contained566syn match autoitSend "{LAUNCH_MAIL}" contained567syn match autoitSend "{LAUNCH_MEDIA}" contained568syn match autoitSend "{LAUNCH_APP1}" contained569syn match autoitSend "{LAUNCH_APP2}" contained570 571"this was tricky!572"we use an oneline region, instead of a match, in order to use skip=573"matchgroup= so start and end quotes are not considered as au3Doubled574"contained575syn region autoitString oneline contains=autoitSend matchgroup=autoitQuote start=+"+576 \ end=+"+ end=+_\n\{1}.*"+577 \ contains=autoitCont,autoitDoubledDoubles skip=+""+578syn region autoitString oneline matchgroup=autoitQuote start=+'+579 \ end=+'+ end=+_\n\{1}.*'+580 \ contains=autoitCont,autoitDoubledSingles skip=+''+581 582syn match autoitVarSelector "\$" contained display583syn match autoitVariable "$\w\+" contains=autoitVarSelector584 585" options - must be defined after autoitStrings586syn match autoitOption "\([\"\']\)CaretCoordMode\1"587syn match autoitOption "\([\"\']\)ColorMode\1"588syn match autoitOption "\([\"\']\)ExpandEnvStrings\1"589syn match autoitOption "\([\"\']\)ExpandVarStrings\1"590syn match autoitOption "\([\"\']\)FtpBinaryMode\1"591syn match autoitOption "\([\"\']\)GUICloseOnEsc\1"592syn match autoitOption "\([\"\']\)GUICoordMode\1"593syn match autoitOption "\([\"\']\)GUIDataSeparatorChar\1"594syn match autoitOption "\([\"\']\)GUIOnEventMode\1"595syn match autoitOption "\([\"\']\)GUIResizeMode\1"596syn match autoitOption "\([\"\']\)GUIEventCompatibilityMode\1"597syn match autoitOption "\([\"\']\)MouseClickDelay\1"598syn match autoitOption "\([\"\']\)MouseClickDownDelay\1"599syn match autoitOption "\([\"\']\)MouseClickDragDelay\1"600syn match autoitOption "\([\"\']\)MouseCoordMode\1"601syn match autoitOption "\([\"\']\)MustDeclareVars\1"602syn match autoitOption "\([\"\']\)OnExitFunc\1"603syn match autoitOption "\([\"\']\)PixelCoordMode\1"604syn match autoitOption "\([\"\']\)RunErrorsFatal\1"605syn match autoitOption "\([\"\']\)SendAttachMode\1"606syn match autoitOption "\([\"\']\)SendCapslockMode\1"607syn match autoitOption "\([\"\']\)SendKeyDelay\1"608syn match autoitOption "\([\"\']\)SendKeyDownDelay\1"609syn match autoitOption "\([\"\']\)TCPTimeout\1"610syn match autoitOption "\([\"\']\)TrayAutoPause\1"611syn match autoitOption "\([\"\']\)TrayIconDebug\1"612syn match autoitOption "\([\"\']\)TrayIconHide\1"613syn match autoitOption "\([\"\']\)TrayMenuMode\1"614syn match autoitOption "\([\"\']\)TrayOnEventMode\1"615syn match autoitOption "\([\"\']\)WinDetectHiddenText\1"616syn match autoitOption "\([\"\']\)WinSearchChildren\1"617syn match autoitOption "\([\"\']\)WinTextMatchMode\1"618syn match autoitOption "\([\"\']\)WinTitleMatchMode\1"619syn match autoitOption "\([\"\']\)WinWaitDelay\1"620 621" styles - must be defined after autoitVariable622" common623syn match autoitStyle "\$WS_BORDER"624syn match autoitStyle "\$WS_POPUP"625syn match autoitStyle "\$WS_CAPTION"626syn match autoitStyle "\$WS_CLIPCHILDREN"627syn match autoitStyle "\$WS_CLIPSIBLINGS"628syn match autoitStyle "\$WS_DISABLED"629syn match autoitStyle "\$WS_DLGFRAME"630syn match autoitStyle "\$WS_HSCROLL"631syn match autoitStyle "\$WS_MAXIMIZE"632syn match autoitStyle "\$WS_MAXIMIZEBOX"633syn match autoitStyle "\$WS_MINIMIZE"634syn match autoitStyle "\$WS_MINIMIZEBOX"635syn match autoitStyle "\$WS_OVERLAPPED"636syn match autoitStyle "\$WS_OVERLAPPEDWINDOW"637syn match autoitStyle "\$WS_POPUPWINDOW"638syn match autoitStyle "\$WS_SIZEBOX"639syn match autoitStyle "\$WS_SYSMENU"640syn match autoitStyle "\$WS_THICKFRAME"641syn match autoitStyle "\$WS_VSCROLL"642syn match autoitStyle "\$WS_VISIBLE"643syn match autoitStyle "\$WS_CHILD"644syn match autoitStyle "\$WS_GROUP"645syn match autoitStyle "\$WS_TABSTOP"646syn match autoitStyle "\$DS_MODALFRAME"647syn match autoitStyle "\$DS_SETFOREGROUND"648syn match autoitStyle "\$DS_CONTEXTHELP"649" common extended650syn match autoitStyle "\$WS_EX_ACCEPTFILES"651syn match autoitStyle "\$WS_EX_APPWINDOW"652syn match autoitStyle "\$WS_EX_CLIENTEDGE"653syn match autoitStyle "\$WS_EX_CONTEXTHELP"654syn match autoitStyle "\$WS_EX_DLGMODALFRAME"655syn match autoitStyle "\$WS_EX_MDICHILD"656syn match autoitStyle "\$WS_EX_OVERLAPPEDWINDOW"657syn match autoitStyle "\$WS_EX_STATICEDGE"658syn match autoitStyle "\$WS_EX_TOPMOST"659syn match autoitStyle "\$WS_EX_TRANSPARENT"660syn match autoitStyle "\$WS_EX_TOOLWINDOW"661syn match autoitStyle "\$WS_EX_WINDOWEDGE"662syn match autoitStyle "\$WS_EX_LAYERED"663syn match autoitStyle "\$GUI_WS_EX_PARENTDRAG"664" checkbox665syn match autoitStyle "\$BS_3STATE"666syn match autoitStyle "\$BS_AUTO3STATE"667syn match autoitStyle "\$BS_AUTOCHECKBOX"668syn match autoitStyle "\$BS_CHECKBOX"669syn match autoitStyle "\$BS_LEFT"670syn match autoitStyle "\$BS_PUSHLIKE"671syn match autoitStyle "\$BS_RIGHT"672syn match autoitStyle "\$BS_RIGHTBUTTON"673syn match autoitStyle "\$BS_GROUPBOX"674syn match autoitStyle "\$BS_AUTORADIOBUTTON"675" push button676syn match autoitStyle "\$BS_BOTTOM"677syn match autoitStyle "\$BS_CENTER"678syn match autoitStyle "\$BS_DEFPUSHBUTTON"679syn match autoitStyle "\$BS_MULTILINE"680syn match autoitStyle "\$BS_TOP"681syn match autoitStyle "\$BS_VCENTER"682syn match autoitStyle "\$BS_ICON"683syn match autoitStyle "\$BS_BITMAP"684syn match autoitStyle "\$BS_FLAT"685" combo686syn match autoitStyle "\$CBS_AUTOHSCROLL"687syn match autoitStyle "\$CBS_DISABLENOSCROLL"688syn match autoitStyle "\$CBS_DROPDOWN"689syn match autoitStyle "\$CBS_DROPDOWNLIST"690syn match autoitStyle "\$CBS_LOWERCASE"691syn match autoitStyle "\$CBS_NOINTEGRALHEIGHT"692syn match autoitStyle "\$CBS_OEMCONVERT"693syn match autoitStyle "\$CBS_SIMPLE"694syn match autoitStyle "\$CBS_SORT"695syn match autoitStyle "\$CBS_UPPERCASE"696" list697syn match autoitStyle "\$LBS_DISABLENOSCROLL"698syn match autoitStyle "\$LBS_NOINTEGRALHEIGHT"699syn match autoitStyle "\$LBS_NOSEL"700syn match autoitStyle "\$LBS_NOTIFY"701syn match autoitStyle "\$LBS_SORT"702syn match autoitStyle "\$LBS_STANDARD"703syn match autoitStyle "\$LBS_USETABSTOPS"704" edit/input705syn match autoitStyle "\$ES_AUTOHSCROLL"706syn match autoitStyle "\$ES_AUTOVSCROLL"707syn match autoitStyle "\$ES_CENTER"708syn match autoitStyle "\$ES_LOWERCASE"709syn match autoitStyle "\$ES_NOHIDESEL"710syn match autoitStyle "\$ES_NUMBER"711syn match autoitStyle "\$ES_OEMCONVERT"712syn match autoitStyle "\$ES_MULTILINE"713syn match autoitStyle "\$ES_PASSWORD"714syn match autoitStyle "\$ES_READONLY"715syn match autoitStyle "\$ES_RIGHT"716syn match autoitStyle "\$ES_UPPERCASE"717syn match autoitStyle "\$ES_WANTRETURN"718" progress bar719syn match autoitStyle "\$PBS_SMOOTH"720syn match autoitStyle "\$PBS_VERTICAL"721" up-down722syn match autoitStyle "\$UDS_ALIGNLEFT"723syn match autoitStyle "\$UDS_ALIGNRIGHT"724syn match autoitStyle "\$UDS_ARROWKEYS"725syn match autoitStyle "\$UDS_HORZ"726syn match autoitStyle "\$UDS_NOTHOUSANDS"727syn match autoitStyle "\$UDS_WRAP"728" label/static729syn match autoitStyle "\$SS_BLACKFRAME"730syn match autoitStyle "\$SS_BLACKRECT"731syn match autoitStyle "\$SS_CENTER"732syn match autoitStyle "\$SS_CENTERIMAGE"733syn match autoitStyle "\$SS_ETCHEDFRAME"734syn match autoitStyle "\$SS_ETCHEDHORZ"735syn match autoitStyle "\$SS_ETCHEDVERT"736syn match autoitStyle "\$SS_GRAYFRAME"737syn match autoitStyle "\$SS_GRAYRECT"738syn match autoitStyle "\$SS_LEFT"739syn match autoitStyle "\$SS_LEFTNOWORDWRAP"740syn match autoitStyle "\$SS_NOPREFIX"741syn match autoitStyle "\$SS_NOTIFY"742syn match autoitStyle "\$SS_RIGHT"743syn match autoitStyle "\$SS_RIGHTJUST"744syn match autoitStyle "\$SS_SIMPLE"745syn match autoitStyle "\$SS_SUNKEN"746syn match autoitStyle "\$SS_WHITEFRAME"747syn match autoitStyle "\$SS_WHITERECT"748" tab749syn match autoitStyle "\$TCS_SCROLLOPPOSITE"750syn match autoitStyle "\$TCS_BOTTOM"751syn match autoitStyle "\$TCS_RIGHT"752syn match autoitStyle "\$TCS_MULTISELECT"753syn match autoitStyle "\$TCS_FLATBUTTONS"754syn match autoitStyle "\$TCS_FORCEICONLEFT"755syn match autoitStyle "\$TCS_FORCELABELLEFT"756syn match autoitStyle "\$TCS_HOTTRACK"757syn match autoitStyle "\$TCS_VERTICAL"758syn match autoitStyle "\$TCS_TABS"759syn match autoitStyle "\$TCS_BUTTONS"760syn match autoitStyle "\$TCS_SINGLELINE"761syn match autoitStyle "\$TCS_MULTILINE"762syn match autoitStyle "\$TCS_RIGHTJUSTIFY"763syn match autoitStyle "\$TCS_FIXEDWIDTH"764syn match autoitStyle "\$TCS_RAGGEDRIGHT"765syn match autoitStyle "\$TCS_FOCUSONBUTTONDOWN"766syn match autoitStyle "\$TCS_OWNERDRAWFIXED"767syn match autoitStyle "\$TCS_TOOLTIPS"768syn match autoitStyle "\$TCS_FOCUSNEVER"769" avi clip770syn match autoitStyle "\$ACS_AUTOPLAY"771syn match autoitStyle "\$ACS_CENTER"772syn match autoitStyle "\$ACS_TRANSPARENT"773syn match autoitStyle "\$ACS_NONTRANSPARENT"774" date775syn match autoitStyle "\$DTS_UPDOWN"776syn match autoitStyle "\$DTS_SHOWNONE"777syn match autoitStyle "\$DTS_LONGDATEFORMAT"778syn match autoitStyle "\$DTS_TIMEFORMAT"779syn match autoitStyle "\$DTS_RIGHTALIGN"780syn match autoitStyle "\$DTS_SHORTDATEFORMAT"781" monthcal782syn match autoitStyle "\$MCS_NOTODAY"783syn match autoitStyle "\$MCS_NOTODAYCIRCLE"784syn match autoitStyle "\$MCS_WEEKNUMBERS"785" treeview786syn match autoitStyle "\$TVS_HASBUTTONS"787syn match autoitStyle "\$TVS_HASLINES"788syn match autoitStyle "\$TVS_LINESATROOT"789syn match autoitStyle "\$TVS_DISABLEDRAGDROP"790syn match autoitStyle "\$TVS_SHOWSELALWAYS"791syn match autoitStyle "\$TVS_RTLREADING"792syn match autoitStyle "\$TVS_NOTOOLTIPS"793syn match autoitStyle "\$TVS_CHECKBOXES"794syn match autoitStyle "\$TVS_TRACKSELECT"795syn match autoitStyle "\$TVS_SINGLEEXPAND"796syn match autoitStyle "\$TVS_FULLROWSELECT"797syn match autoitStyle "\$TVS_NOSCROLL"798syn match autoitStyle "\$TVS_NONEVENHEIGHT"799" slider800syn match autoitStyle "\$TBS_AUTOTICKS"801syn match autoitStyle "\$TBS_BOTH"802syn match autoitStyle "\$TBS_BOTTOM"803syn match autoitStyle "\$TBS_HORZ"804syn match autoitStyle "\$TBS_VERT"805syn match autoitStyle "\$TBS_NOTHUMB"806syn match autoitStyle "\$TBS_NOTICKS"807syn match autoitStyle "\$TBS_LEFT"808syn match autoitStyle "\$TBS_RIGHT"809syn match autoitStyle "\$TBS_TOP"810" listview811syn match autoitStyle "\$LVS_ICON"812syn match autoitStyle "\$LVS_REPORT"813syn match autoitStyle "\$LVS_SMALLICON"814syn match autoitStyle "\$LVS_LIST"815syn match autoitStyle "\$LVS_EDITLABELS"816syn match autoitStyle "\$LVS_NOCOLUMNHEADER"817syn match autoitStyle "\$LVS_NOSORTHEADER"818syn match autoitStyle "\$LVS_SINGLESEL"819syn match autoitStyle "\$LVS_SHOWSELALWAYS"820syn match autoitStyle "\$LVS_SORTASCENDING"821syn match autoitStyle "\$LVS_SORTDESCENDING"822" listview extended823syn match autoitStyle "\$LVS_EX_FULLROWSELECT"824syn match autoitStyle "\$LVS_EX_GRIDLINES"825syn match autoitStyle "\$LVS_EX_HEADERDRAGDROP"826syn match autoitStyle "\$LVS_EX_TRACKSELECT"827syn match autoitStyle "\$LVS_EX_CHECKBOXES"828syn match autoitStyle "\$LVS_EX_BORDERSELECT"829syn match autoitStyle "\$LVS_EX_DOUBLEBUFFER"830syn match autoitStyle "\$LVS_EX_FLATSB"831syn match autoitStyle "\$LVS_EX_MULTIWORKAREAS"832syn match autoitStyle "\$LVS_EX_SNAPTOGRID"833syn match autoitStyle "\$LVS_EX_SUBITEMIMAGES"834 835" constants - must be defined after autoitVariable - excludes styles836" constants - autoit options837syn match autoitConst "\$OPT_COORDSRELATIVE"838syn match autoitConst "\$OPT_COORDSABSOLUTE"839syn match autoitConst "\$OPT_COORDSCLIENT"840syn match autoitConst "\$OPT_ERRORSILENT"841syn match autoitConst "\$OPT_ERRORFATAL"842syn match autoitConst "\$OPT_CAPSNOSTORE"843syn match autoitConst "\$OPT_CAPSSTORE"844syn match autoitConst "\$OPT_MATCHSTART"845syn match autoitConst "\$OPT_MATCHANY"846syn match autoitConst "\$OPT_MATCHEXACT"847syn match autoitConst "\$OPT_MATCHADVANCED"848" constants - file849syn match autoitConst "\$FC_NOOVERWRITE"850syn match autoitConst "\$FC_OVERWRITE"851syn match autoitConst "\$FT_MODIFIED"852syn match autoitConst "\$FT_CREATED"853syn match autoitConst "\$FT_ACCESSED"854syn match autoitConst "\$FO_READ"855syn match autoitConst "\$FO_APPEND"856syn match autoitConst "\$FO_OVERWRITE"857syn match autoitConst "\$EOF"858syn match autoitConst "\$FD_FILEMUSTEXIST"859syn match autoitConst "\$FD_PATHMUSTEXIST"860syn match autoitConst "\$FD_MULTISELECT"861syn match autoitConst "\$FD_PROMPTCREATENEW"862syn match autoitConst "\$FD_PROMPTOVERWRITE"863" constants - keyboard864syn match autoitConst "\$KB_SENDSPECIAL"865syn match autoitConst "\$KB_SENDRAW"866syn match autoitConst "\$KB_CAPSOFF"867syn match autoitConst "\$KB_CAPSON"868" constants - message box869syn match autoitConst "\$MB_OK"870syn match autoitConst "\$MB_OKCANCEL"871syn match autoitConst "\$MB_ABORTRETRYIGNORE"872syn match autoitConst "\$MB_YESNOCANCEL"873syn match autoitConst "\$MB_YESNO"874syn match autoitConst "\$MB_RETRYCANCEL"875syn match autoitConst "\$MB_ICONHAND"876syn match autoitConst "\$MB_ICONQUESTION"877syn match autoitConst "\$MB_ICONEXCLAMATION"878syn match autoitConst "\$MB_ICONASTERISK"879syn match autoitConst "\$MB_DEFBUTTON1"880syn match autoitConst "\$MB_DEFBUTTON2"881syn match autoitConst "\$MB_DEFBUTTON3"882syn match autoitConst "\$MB_APPLMODAL"883syn match autoitConst "\$MB_SYSTEMMODAL"884syn match autoitConst "\$MB_TASKMODAL"885syn match autoitConst "\$MB_TOPMOST"886syn match autoitConst "\$MB_RIGHTJUSTIFIED"887syn match autoitConst "\$IDTIMEOUT"888syn match autoitConst "\$IDOK"889syn match autoitConst "\$IDCANCEL"890syn match autoitConst "\$IDABORT"891syn match autoitConst "\$IDRETRY"892syn match autoitConst "\$IDIGNORE"893syn match autoitConst "\$IDYES"894syn match autoitConst "\$IDNO"895syn match autoitConst "\$IDTRYAGAIN"896syn match autoitConst "\$IDCONTINUE"897" constants - progress and splash898syn match autoitConst "\$DLG_NOTITLE"899syn match autoitConst "\$DLG_NOTONTOP"900syn match autoitConst "\$DLG_TEXTLEFT"901syn match autoitConst "\$DLG_TEXTRIGHT"902syn match autoitConst "\$DLG_MOVEABLE"903syn match autoitConst "\$DLG_TEXTVCENTER"904" constants - tray tip905syn match autoitConst "\$TIP_ICONNONE"906syn match autoitConst "\$TIP_ICONASTERISK"907syn match autoitConst "\$TIP_ICONEXCLAMATION"908syn match autoitConst "\$TIP_ICONHAND"909syn match autoitConst "\$TIP_NOSOUND"910" constants - mouse911syn match autoitConst "\$IDC_UNKNOWN"912syn match autoitConst "\$IDC_APPSTARTING"913syn match autoitConst "\$IDC_ARROW"914syn match autoitConst "\$IDC_CROSS"915syn match autoitConst "\$IDC_HELP"916syn match autoitConst "\$IDC_IBEAM"917syn match autoitConst "\$IDC_ICON"918syn match autoitConst "\$IDC_NO"919syn match autoitConst "\$IDC_SIZE"920syn match autoitConst "\$IDC_SIZEALL"921syn match autoitConst "\$IDC_SIZENESW"922syn match autoitConst "\$IDC_SIZENS"923syn match autoitConst "\$IDC_SIZENWSE"924syn match autoitConst "\$IDC_SIZEWE"925syn match autoitConst "\$IDC_UPARROW"926syn match autoitConst "\$IDC_WAIT"927" constants - process928syn match autoitConst "\$SD_LOGOFF"929syn match autoitConst "\$SD_SHUTDOWN"930syn match autoitConst "\$SD_REBOOT"931syn match autoitConst "\$SD_FORCE"932syn match autoitConst "\$SD_POWERDOWN"933" constants - string934syn match autoitConst "\$STR_NOCASESENSE"935syn match autoitConst "\$STR_CASESENSE"936syn match autoitConst "\$STR_STRIPLEADING"937syn match autoitConst "\$STR_STRIPTRAILING"938syn match autoitConst "\$STR_STRIPSPACES"939syn match autoitConst "\$STR_STRIPALL"940" constants - tray941syn match autoitConst "\$TRAY_ITEM_EXIT"942syn match autoitConst "\$TRAY_ITEM_PAUSE"943syn match autoitConst "\$TRAY_ITEM_FIRST"944syn match autoitConst "\$TRAY_CHECKED"945syn match autoitConst "\$TRAY_UNCHECKED"946syn match autoitConst "\$TRAY_ENABLE"947syn match autoitConst "\$TRAY_DISABLE"948syn match autoitConst "\$TRAY_FOCUS"949syn match autoitConst "\$TRAY_DEFAULT"950syn match autoitConst "\$TRAY_EVENT_SHOWICON"951syn match autoitConst "\$TRAY_EVENT_HIDEICON"952syn match autoitConst "\$TRAY_EVENT_FLASHICON"953syn match autoitConst "\$TRAY_EVENT_NOFLASHICON"954syn match autoitConst "\$TRAY_EVENT_PRIMARYDOWN"955syn match autoitConst "\$TRAY_EVENT_PRIMARYUP"956syn match autoitConst "\$TRAY_EVENT_SECONDARYDOWN"957syn match autoitConst "\$TRAY_EVENT_SECONDARYUP"958syn match autoitConst "\$TRAY_EVENT_MOUSEOVER"959syn match autoitConst "\$TRAY_EVENT_MOUSEOUT"960syn match autoitConst "\$TRAY_EVENT_PRIMARYDOUBLE"961syn match autoitConst "\$TRAY_EVENT_SECONDARYDOUBLE"962" constants - stdio963syn match autoitConst "\$STDIN_CHILD"964syn match autoitConst "\$STDOUT_CHILD"965syn match autoitConst "\$STDERR_CHILD"966" constants - color967syn match autoitConst "\$COLOR_BLACK"968syn match autoitConst "\$COLOR_SILVER"969syn match autoitConst "\$COLOR_GRAY"970syn match autoitConst "\$COLOR_WHITE"971syn match autoitConst "\$COLOR_MAROON"972syn match autoitConst "\$COLOR_RED"973syn match autoitConst "\$COLOR_PURPLE"974syn match autoitConst "\$COLOR_FUCHSIA"975syn match autoitConst "\$COLOR_GREEN"976syn match autoitConst "\$COLOR_LIME"977syn match autoitConst "\$COLOR_OLIVE"978syn match autoitConst "\$COLOR_YELLOW"979syn match autoitConst "\$COLOR_NAVY"980syn match autoitConst "\$COLOR_BLUE"981syn match autoitConst "\$COLOR_TEAL"982syn match autoitConst "\$COLOR_AQUA"983" constants - reg value type984syn match autoitConst "\$REG_NONE"985syn match autoitConst "\$REG_SZ"986syn match autoitConst "\$REG_EXPAND_SZ"987syn match autoitConst "\$REG_BINARY"988syn match autoitConst "\$REG_DWORD"989syn match autoitConst "\$REG_DWORD_BIG_ENDIAN"990syn match autoitConst "\$REG_LINK"991syn match autoitConst "\$REG_MULTI_SZ"992syn match autoitConst "\$REG_RESOURCE_LIST"993syn match autoitConst "\$REG_FULL_RESOURCE_DESCRIPTOR"994syn match autoitConst "\$REG_RESOURCE_REQUIREMENTS_LIST"995" guiconstants - events and messages996syn match autoitConst "\$GUI_EVENT_CLOSE"997syn match autoitConst "\$GUI_EVENT_MINIMIZE"998syn match autoitConst "\$GUI_EVENT_RESTORE"999syn match autoitConst "\$GUI_EVENT_MAXIMIZE"1000syn match autoitConst "\$GUI_EVENT_PRIMARYDOWN"1001syn match autoitConst "\$GUI_EVENT_PRIMARYUP"1002syn match autoitConst "\$GUI_EVENT_SECONDARYDOWN"1003syn match autoitConst "\$GUI_EVENT_SECONDARYUP"1004syn match autoitConst "\$GUI_EVENT_MOUSEMOVE"1005syn match autoitConst "\$GUI_EVENT_RESIZED"1006syn match autoitConst "\$GUI_EVENT_DROPPED"1007syn match autoitConst "\$GUI_RUNDEFMSG"1008" guiconstants - state1009syn match autoitConst "\$GUI_AVISTOP"1010syn match autoitConst "\$GUI_AVISTART"1011syn match autoitConst "\$GUI_AVICLOSE"1012syn match autoitConst "\$GUI_CHECKED"1013syn match autoitConst "\$GUI_INDETERMINATE"1014syn match autoitConst "\$GUI_UNCHECKED"1015syn match autoitConst "\$GUI_DROPACCEPTED"1016syn match autoitConst "\$GUI_DROPNOTACCEPTED"1017syn match autoitConst "\$GUI_ACCEPTFILES"1018syn match autoitConst "\$GUI_SHOW"1019syn match autoitConst "\$GUI_HIDE"1020syn match autoitConst "\$GUI_ENABLE"1021syn match autoitConst "\$GUI_DISABLE"1022syn match autoitConst "\$GUI_FOCUS"1023syn match autoitConst "\$GUI_NOFOCUS"1024syn match autoitConst "\$GUI_DEFBUTTON"1025syn match autoitConst "\$GUI_EXPAND"1026syn match autoitConst "\$GUI_ONTOP"1027" guiconstants - font1028syn match autoitConst "\$GUI_FONTITALIC"1029syn match autoitConst "\$GUI_FONTUNDER"1030syn match autoitConst "\$GUI_FONTSTRIKE"1031" guiconstants - resizing1032syn match autoitConst "\$GUI_DOCKAUTO"1033syn match autoitConst "\$GUI_DOCKLEFT"1034syn match autoitConst "\$GUI_DOCKRIGHT"1035syn match autoitConst "\$GUI_DOCKHCENTER"1036syn match autoitConst "\$GUI_DOCKTOP"1037syn match autoitConst "\$GUI_DOCKBOTTOM"1038syn match autoitConst "\$GUI_DOCKVCENTER"1039syn match autoitConst "\$GUI_DOCKWIDTH"1040syn match autoitConst "\$GUI_DOCKHEIGHT"1041syn match autoitConst "\$GUI_DOCKSIZE"1042syn match autoitConst "\$GUI_DOCKMENUBAR"1043syn match autoitConst "\$GUI_DOCKSTATEBAR"1044syn match autoitConst "\$GUI_DOCKALL"1045syn match autoitConst "\$GUI_DOCKBORDERS"1046" guiconstants - graphic1047syn match autoitConst "\$GUI_GR_CLOSE"1048syn match autoitConst "\$GUI_GR_LINE"1049syn match autoitConst "\$GUI_GR_BEZIER"1050syn match autoitConst "\$GUI_GR_MOVE"1051syn match autoitConst "\$GUI_GR_COLOR"1052syn match autoitConst "\$GUI_GR_RECT"1053syn match autoitConst "\$GUI_GR_ELLIPSE"1054syn match autoitConst "\$GUI_GR_PIE"1055syn match autoitConst "\$GUI_GR_DOT"1056syn match autoitConst "\$GUI_GR_PIXEL"1057syn match autoitConst "\$GUI_GR_HINT"1058syn match autoitConst "\$GUI_GR_REFRESH"1059syn match autoitConst "\$GUI_GR_PENSIZE"1060syn match autoitConst "\$GUI_GR_NOBKCOLOR"1061" guiconstants - control default styles1062syn match autoitConst "\$GUI_SS_DEFAULT_AVI"1063syn match autoitConst "\$GUI_SS_DEFAULT_BUTTON"1064syn match autoitConst "\$GUI_SS_DEFAULT_CHECKBOX"1065syn match autoitConst "\$GUI_SS_DEFAULT_COMBO"1066syn match autoitConst "\$GUI_SS_DEFAULT_DATE"1067syn match autoitConst "\$GUI_SS_DEFAULT_EDIT"1068syn match autoitConst "\$GUI_SS_DEFAULT_GRAPHIC"1069syn match autoitConst "\$GUI_SS_DEFAULT_GROUP"1070syn match autoitConst "\$GUI_SS_DEFAULT_ICON"1071syn match autoitConst "\$GUI_SS_DEFAULT_INPUT"1072syn match autoitConst "\$GUI_SS_DEFAULT_LABEL"1073syn match autoitConst "\$GUI_SS_DEFAULT_LIST"1074syn match autoitConst "\$GUI_SS_DEFAULT_LISTVIEW"1075syn match autoitConst "\$GUI_SS_DEFAULT_MONTHCAL"1076syn match autoitConst "\$GUI_SS_DEFAULT_PIC"1077syn match autoitConst "\$GUI_SS_DEFAULT_PROGRESS"1078syn match autoitConst "\$GUI_SS_DEFAULT_RADIO"1079syn match autoitConst "\$GUI_SS_DEFAULT_SLIDER"1080syn match autoitConst "\$GUI_SS_DEFAULT_TAB"1081syn match autoitConst "\$GUI_SS_DEFAULT_TREEVIEW"1082syn match autoitConst "\$GUI_SS_DEFAULT_UPDOWN"1083syn match autoitConst "\$GUI_SS_DEFAULT_GUI"1084" guiconstants - background color special flags1085syn match autoitConst "\$GUI_BKCOLOR_DEFAULT"1086syn match autoitConst "\$GUI_BKCOLOR_LV_ALTERNATE"1087syn match autoitConst "\$GUI_BKCOLOR_TRANSPARENT"1088 1089" registry constants1090syn match autoitConst "\([\"\']\)REG_BINARY\1"1091syn match autoitConst "\([\"\']\)REG_SZ\1"1092syn match autoitConst "\([\"\']\)REG_MULTI_SZ\1"1093syn match autoitConst "\([\"\']\)REG_EXPAND_SZ\1"1094syn match autoitConst "\([\"\']\)REG_DWORD\1"1095 1096" Define the default highlighting.1097" Unused colors: Underlined, Ignore, Error, Todo1098hi def link autoitFunction Statement " yellow/yellow1099hi def link autoitKeyword Statement1100hi def link autoitOperator Operator1101hi def link autoitVarSelector Operator1102hi def link autoitComment Comment " cyan/blue1103hi def link autoitParen Comment1104hi def link autoitComma Comment1105hi def link autoitBracket Comment1106hi def link autoitNumber Constant " magenta/red1107hi def link autoitString Constant1108hi def link autoitQuote Constant1109hi def link autoitIncluded Constant1110hi def link autoitCont Special " red/orange1111hi def link autoitDoubledSingles Special1112hi def link autoitDoubledDoubles Special1113hi def link autoitCommDelimiter PreProc " blue/magenta1114hi def link autoitInclude PreProc1115hi def link autoitVariable Identifier " cyan/cyan1116hi def link autoitBuiltin Type " green/green1117hi def link autoitOption Type1118hi def link autoitStyle Type1119hi def link autoitConst Type1120hi def link autoitSend Type1121 1122syn sync minlines=501123 1124let &cpo = s:keepcpo1125unlet s:keepcpo1126 