; EmEditor Syntax File (www.emeditor.com)
; for AutoHotKey (www.autohotkey.com)
; by Wolfgang Reszel (Tekl)
;
; based on the syntax file for EditPlus
;
; To import this file to an existing configuration, select Configuration
; under the Tool menu, select Define Configurations, select a configuration
; you want to import to, press [Properties], select the Highlight page, and
; press [Import].
;
; Submit your customized file to submit@emurasoft.com 
; to be listed in www.emurasoft.com user files pages.
;
#Highlight=on
#BeginTag=
#EndTag=
#CommentBegin=/*
#CommentEnd=*/
#LineComment1=^;
#LineComment2=
#SingleQuote=on
#DoubleQuote=on
#ContinueQuote=on
#Escape=`
#ScriptBegin=
#ScriptEnd=
#SpecialSyntax=off
#HighlightBraces=on

#Keyword color=4,word=on,rightall=off,case=off,insidetag=off,regexp=off
^#AllowSameLineComments
^#ClipboardTimeout
^#CommentFlag
^#ErrorStdOut
^#EscapeChar
^#HotkeyInterval
^#HotkeyModifierTimeout
^#Hotstring
^#IfWinActive
^#IfWinExist
^#IfWinNotActive
^#IfWinNotExist
^#Include
^#IncludeAgain
^#InstallKeybdHook
^#InstallMouseHook
^#KeyHistory
^#LTrim
^#MaxHotkeysPerInterval
^#MaxMem
^#MaxThreads
^#MaxThreadsBuffer
^#MaxThreadsPerHotkey
^#NoEnv
^#NoTrayIcon
^#Persistent
^#SingleInstance
^#UseHook
^#WinActivateForce
AutoTrim
BlockInput
Break
Click
ClipWait
CoordMode
Continue
Control
ControlFocus
ControlGet
ControlGetFocus
ControlGetText
ControlClick
ControlMove
ControlGetPos
ControlSend
ControlSendRaw
ControlSetText
Critical
DetectHiddenText
DetectHiddenWindows
DllCall
Abs
ACos
Asc
ASin
ATan
Ceil
Chr
Cos
Exp
FileExist
Floor
GetKeyState
IL_Add
IL_Create
IL_Destroy
LV_Add
LV_Delete
LV_DeleteCol
LV_GetCount
LV_GetNext
LV_GetText
LV_Insert
LV_InsertCol
LV_Modify
LV_ModifyCol
LV_SetImageList
InStr
SubStr
Ln
Log
Mod
Round
SB_SetIcon
SB_SetParts
SB_SetText
Sin
Sqrt
StrLen
Tan
TV_Add
TV_Delete
TV_GetChild
TV_GetCount
TV_GetNext
TV_Get
TV_GetParent
TV_GetPrev
TV_GetSelection
TV_GetText
TV_Modify
DriveSpaceFree
Edit
Else
EndRepeat
EnvAdd
EnvSub
EnvMult
EnvDiv
EnvGet
EnvSet
EnvSub
EnvUpdate
Exit
ExitApp
FileAppend
FileCopy
FileCopyDir
FileCreateDir
FileCreateShortcut
FileGetShortcut
FileDelete
FileInstall
FileRead
FileReadLine
FileGetAttrib
FileGetSize
FileGetTime
FileGetVersion
FileMove
FileMoveDir
FileRecycle
FileRecycleEmpty
FileRemoveDir
FileSelectFile
FileSelectFolder
FileSetAttrib
FileSetTime
FormatTime
GetKeyState
Gosub
Goto
GroupActivate
GroupAdd
GroupClose
GroupDeactivate
Gui
GuiControl
GuiControlGet
if
is
not
contains
HideAutoItWin
Hotkey
IfEqual
IfNotEqual
IfExist
IfNotExist
IfGreater
IfGreaterOrEqual
IfInString
IfNotInString
IfLess
IfLessOrEqual
IfMsgBox
IfWinActive
IfWinNotActive
IfWinExist
IfWinNotExist
IniDelete
IniRead
IniWrite
Input
InputBox
IsFunc
IsLabel
KeyHistory
KeyWait
LeftClick
LeftClickDrag
ListHotkeys
ListLines
ListVars
Loop
Menu
MouseClick
MouseClickDrag
MouseGetPos
MouseMove
MsgBox
OnExit
OnMessage
OutputDebug
Pause
PixelGetColor
PixelSearch
ImageSearch
NumGet
NumPut
PostMessage
Process
Random
RegDelete
RegExMatch
RegExReplace
RegRead
RegWrite
RegisterCallback
Reload
Repeat
EndRepeat
Return
RightClick
RightClickDrag
Run
RunAs
RunWait
Send
SendEvent
SendInput
SendMode
SendPlay
SendRaw
SendMessage
SetBatchLines
SetCapslockState
SetControlDelay
SetDefaultMouseSpeed
SetEnv
SetFormat
SetKeyDelay
SetMouseDelay
SetNumlockState
SetScrollLockState
SetStoreCapslockMode
SetTimer
SetTitleMatchMode
SetWinDelay
SetWorkingDir
Shutdown
Sleep
Sort
SoundBeep
SoundGet
SoundGetWaveVolume
SoundPlay
SoundSet
SoundSetWaveVolume
Progress
SplashImage
SplashTextOn
SplashTextOff
StatusBarGetText
StatusBarWait
StringCaseSense
StringGetPos
StringLeft
StringLen
StringLower
StringMid
StringReplace
StringRight
StringSplit
SplitPath
StringTrimLeft
StringTrimRight
StringUpper
Suspend
Thread
ToolTip
Transform
TrayTip
URLDownloadToFile
VarSetCapacity
WinActivate
WinActivateBottom
WinClose
WinGet
SysGet
Drive
DriveGet
While
WinGetActiveStats
WinGetActiveTitle
WinGetClass
WinGetPos
WinGetText
WinGetTitle
WinHide
WinKill
WinMaximize
WinMenuSelectItem
WinMinimize
WinMinimizeAll
WinMinimizeAllUndo
WinMove
WinRestore
WinSet
WinSetTitle
WinShow
WinWait
WinWaitActive
WinWaitClose
WinWaitNotActive

#Keyword color=3,word=on,rightall=off,case=off,insidetag=off,regexp=off
%
Clipboard
ClipboardAll
ComSpec
ProgramFiles
ErrorLevel
True
False
A_YEAR
A_YYYY
A_MON
A_MDAY
A_MMMM
A_MMM
A_MM
A_DDDD
A_DDD
A_DD
A_HOUR
A_MIN
A_SEC
A_MSEC
A_WDAY
A_YDAY
A_YWeek
A_Language
A_LineFile
A_LineNumber
A_AppData
A_AppDataCommon
A_Temp
A_ComputerName
A_UserName
A_Desktop
A_DesktopCommon
A_StartMenu
A_StartMenuCommon
A_Programs
A_ProgramsCommon
A_Startup
A_StartupCommon
A_MyDocuments
A_WORKINGDIR
A_AhkPath
A_AhkVersion
A_ScreenWidth
A_ScreenHeight
A_SCRIPTNAME
A_SCRIPTDIR
A_SCRIPTFULLPATH
A_NUMBATCHLINES
A_BatchLines
A_ExitReason
A_ThisMenu
A_ThisMenuItem
A_ThisMenuItemPos
A_EventInfo
A_Gui
A_GuiControl
A_GuiControlEvent
A_GuiEvent
A_GuiHeight
A_GuiWidth
A_GuiX
A_GuiY
A_LastError
A_Now
A_NowUTC
A_IsCompiled
A_IsSuspended
A_TitleMatchMode
A_TitleMatchModeSpeed
A_DetectHiddenWindows
A_DetectHiddenText
A_AutoTrim
A_StringCaseSense
A_FormatInteger
A_FormatFloat
A_KeyDelay
A_WinDelay
A_ControlDelay
A_MouseDelay
A_DefaultMouseSpeed
A_IconHidden
A_IconTip
A_IconFile
A_IconNumber
A_IsCritical
A_IsPaused
A_OSTYPE
A_OSVERSION
A_WinDir
A_ProgramFiles
A_CURSOR
A_EndChar
A_CaretX
A_CaretY
A_ISADMIN
A_IPADDRESS1
A_IPADDRESS2
A_IPADDRESS3
A_IPADDRESS4
A_THISFUNC
A_THISHOTKEY
A_THISLABEL
A_PRIORHOTKEY
A_TIMESINCETHISHOTKEY
A_TIMESINCEPRIORHOTKEY
A_TIMEIDLE
A_TIMEIDLEPHYSICAL
A_TICKCOUNT
A_SPACE
A_TAB
A_INDEX
A_LOOPFILENAME
A_LOOPFILEFULLPATH
A_LoopFileLongPath
A_LOOPFILESHORTNAME
A_LoopFileShortPath
A_LOOPFILEDIR
A_LoopFileExt
A_LOOPFILETIMEMODIFIED
A_LOOPFILETIMECREATED
A_LOOPFILETIMEACCESSED
A_LOOPFILEATTRIB
A_LOOPFILESIZE
A_LOOPFILESIZEKB
A_LOOPFILESIZEMB
A_LOOPREGNAME
A_LOOPREGTYPE
A_LOOPREGKEY
A_LOOPREGSUBKEY
A_LOOPREGTIMEMODIFIED
A_LOOPREADLINE
A_LOOPFIELD

#Keyword color=2,word=on,rightall=off,case=off,insidetag=off,regexp=off
RGB
PIXEL
MOUSE
SCREEN
RELATIVE
BETWEEN
IN
INTEGER
FLOAT
INTEGERFAST
FLOATFAST
NUMBER
DIGIT
XDIGIT
ALPHA
UPPER
LOWER
ALNUM
TIME
DATE
AlwaysOnTop
Topmost
Bottom
Transparent
Redraw
Region
TransColor
ID
IDLAST
ProcessName
MinMax
CONTROLLIST
COUNT
LIST
CAPACITY
StatusCD
Eject
Label
FILESYSTEM
LABEL
SETLABEL
SERIAL
TYPE
STATUS
SECONDS
MINUTES
HOURS
DAYS
static
global
local
ByRef
READ
PARSE
Logoff
Close
Error
Single
TRAY
ADD
RENAME
CHECK
UNCHECK
TOGGLECHECK
ENABLE
DISABLE
TOGGLEENABLE
DEFAULT
NODEFAULT
STANDARD
NOSTANDARD
DELETE
DELETEALL
ICON
NOICON
TIP
SHOW
MAINWINDOW
NOMAINWINDOW
USEERRORLEVEL
AltTab
ShiftAltTab
AltTabMenu
AltTabAndMenu
AltTabMenuDismiss
Unicode
Asc
Chr
Deref
Mod
Pow
Exp
Sqrt
Log
Ln
Round
Ceil
Floor
Abs
Sin
Cos
Tan
ASin
ACos
ATan
BitNot
BitAnd
BitOr
BitXOr
BitShiftLeft
BitShiftRight
YES
NO
OK
CANCEL
ABORT
RETRY
IGNORE
TRYAGAIN
HKEY_LOCAL_MACHINE
HKEY_USERS
HKEY_CURRENT_USER
HKEY_CLASSES_ROOT
HKEY_CURRENT_CONFIG
HKLM
HKU
HKCU
HKCR
HKCC
REG_SZ
REG_EXPAND_SZ
REG_MULTI_SZ
REG_DWORD
REG_BINARY
Font
Resize
Owner
Submit
NoHide
Minimize
Maximize
Restore
NoActivate
NA
Cancel
Destroy
Center
Text
Picture
Pic
GroupBox
Button
Checkbox
Radio
DropDownList
DDL
ComboBox
ListBox
ListView
DateTime
MonthCal
UpDown
Slider
StatusBar
TreeView
Tab
Tab2
Disabled
LastFound
LastFoundExist
TabStop
Section
AltSubmit
Wrap
HScroll
VScroll
Border
Top
Bottom
Number
Uppercase
Lowercase
Limit
Password
Multi
WantReturn
Group
Background
Buttons
Expand
First
ImageList
Lines
WantCtrlA
WantF2
Vis
VisFirst
Theme
Caption
Delimiter
MinimizeBox
MaximizeBox
SysMenu
ToolWindow
Flash
Style
ExStyle
Check3
Checked
CheckedGray
ReadOnly
Password
Hidden
Left
Right
Center
NoTab
Section
Move
Focus
Hide
Choose
ChooseString
Text
Pos
Enabled
Visible
ahk_id
ahk_pid
ahk_class
ahk_group

#Keyword color=7,word=on,rightall=off,case=off,insidetag=off,regexp=off
{!}
{^#}
{+}
{~}
{}
{{}
{}}
{BLIND}
{RAW}
{ALTDOWN}
{ALTUP}
{SHIFTDOWN}
{SHIFTUP}
{CTRLDOWN}
{CTRLUP}
{LWINDOWN}
{RWINDOWN}
{ASC
SHIFT
LSHIFT
RSHIFT
ALT
LALT
RALT
CONTROL
LCONTROL
RCONTROL
CTRL
LCTRL
RCTRL
LWIN
RWIN
APPSKEY
LButton
RButton
MButton
WheelUp
WheelDown
WheelLeft
WheelRight
XButton1
XButton2
Joy1
Joy2
Joy3
Joy4
Joy5
Joy6
Joy7
Joy8
Joy9
Joy10
Joy11
Joy12
Joy13
Joy14
Joy15
Joy16
Joy17
Joy18
Joy19
Joy20
Joy21
Joy22
Joy23
Joy24
Joy25
Joy26
Joy27
Joy28
Joy29
Joy30
Joy31
Joy32
JoyX
JoyY
JoyZ
JoyR
JoyU
JoyV
JoyPOV
JoyName
JoyButtons
JoyAxes
JoyInfo
SPACE
TAB
ENTER
ESCAPE
ESC
BACKSPACE
BS
DELETE
DEL
INSERT
INS
PGUP
PGDN
HOME
END
UP
DOWN
LEFT
RIGHT
PRINTSCREEN
CTRLBREAK
PAUSE
ScrollLock
Capslock
Numlock
NUMPAD0
NUMPAD1
NUMPAD2
NUMPAD3
NUMPAD4
NUMPAD5
NUMPAD6
NUMPAD7
NUMPAD8
NUMPAD9
NUMPADMULT
NUMPADADD
NUMPADSUB
NUMPADDIV
NUMPADDOT
NUMPADDEL
NUMPADINS
NUMPADCLEAR
NUMPADUP
NUMPADDOWN
NUMPADLEFT
NUMPADRIGHT
NUMPADHOME
NUMPADEND
NUMPADPGUP
NUMPADPGDN
NUMPADENTER
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
F13
F14
F15
F16
F17
F18
F19
F20
F21
F22
F23
F24
BROWSER_BACK
BROWSER_FORWARD
BROWSER_REFRESH
BROWSER_STOP
BROWSER_SEARCH
BROWSER_FAVORITES
BROWSER_HOME
VOLUME_MUTE
VOLUME_DOWN
VOLUME_UP
MEDIA_NEXT
MEDIA_PREV
MEDIA_STOP
MEDIA_PLAY_PAUSE
LAUNCH_MAIL
LAUNCH_MEDIA
LAUNCH_APP1
LAUNCH_APP2
