"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/autohotkey.lang" (12 May 2020, 3942 Bytes) of package /windows/www/highlight-3.57-x64.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "autohotkey.lang": 3.56_vs_3.57.

    1 
    2 Description="AutoHotKey"
    3 
    4 Categories = {"source", "script"}
    5 
    6 Keywords={
    7   { Id=1,
    8     List={
    9       "autotrim", "blockinput", "break", "click", "clipwait", "continue",
   10       "control", "controlclick", "controlfocus", "controlget", "controlgetfocus",
   11       "controlgetpos", "controlgettext", "controlmove", "controlsend",
   12       "controlsettext", "coordmode", "critical", "detecthiddentext",
   13       "detecthiddenwindows", "dllcall", "drive", "driveget", "drivespacefree", "edit",
   14       "else", "envadd", "envdiv", "envget", "envmult", "envset", "envsub",
   15       "envupdate", "exit", "exitapp", "fileappend", "filecopy", "filecopydir",
   16       "filecreatedir", "filecreateshortcut", "filedelete", "fileinstall",
   17       "filegetattrib", "filegetshortcut", "filegetsize", "filegettime",
   18       "filegetversion", "filemove", "filemovedir", "fileread", "filereadline",
   19       "filerecycle", "filerecycleempty", "fileremovedir", "fileselectfile",
   20       "fileselectfolder", "displays", "filesetattrib", "filesettime", "formattime",
   21       "getkeystate", "gosub", "goto", "groupactivate", "groupadd", "groupclose",
   22       "groupdeactivate", "gui", "guicontrol", "guicontrolget", "hideautoitwin,",
   23       "hotkey", "if", "ifequal/ifnotequal", "ifexist", "ifgreater", "ifgreaterorequal",
   24       "ifinstring", "ifless/iflessorequal", "ifmsgbox", "ifwinactive", "ifwinexist",
   25       "imagesearch", "inidelete", "iniread", "iniwrite", "input", "inputbox",
   26       "keyhistory", "keywait", "leftclick", "leftclickdrag", "listhotkeys",
   27       "listlines", "listvars", "loop", "loop", "loop", "loop", "loop", "menu",
   28       "mouseclick", "mouseclickdrag", "mousegetpos", "mousemove", "msgbox", "onexit",
   29       "onmessage", "outputdebug", "pause", "pixelgetcolor", "pixelsearch",
   30       "postmessage", "process", "progress", "random", "regexmatch", "regexreplace",
   31       "regdelete", "regread", "regwrite", "registercallback", "reload", "repeat",
   32       "endrepeat", "return", "rightclick", "rightclickdrag", "run", "runas",
   33       "runwait", "send", "sendmessage", "sendmode", "setbatchlines",
   34       "setcapslockstate", "setcontroldelay", "setdefaultmousespeed", "setenv",
   35       "setformat", "setkeydelay", "setmousedelay", "setnumlockstate",
   36       "setscrolllockstate", "setstorecapslockmode", "settimer", "settitlematchmode",
   37       "setwindelay", "setworkingdir", "shutdown", "sleep", "sort", "soundbeep",
   38       "soundget", "soundgetwavevolume", "soundplay", "soundset", "soundsetwavevolume",
   39       "splashimage", "splashtexton", "splashtextoff", "splitpath", "statusbargettext",
   40       "statusbarwait", "stringcasesense", "stringgetpos", "stringleft", "stringlen",
   41       "stringlower", "stringmid", "stringreplace", "stringright", "stringsplit",
   42       "stringtrimleft", "stringtrimright", "stringupper", "suspend", "sysget",
   43       "thread", "tooltip", "transform", "traytip", "urldownloadtofile", "var", "var",
   44       "varsetcapacity", "while-loop", "winactivate", "winactivatebottom", "winclose",
   45       "wingetactivestats", "wingetactivetitle", "wingetclass", "winget", "wingetpos",
   46       "wingettext", "wingettitle", "winhide", "winkill", "winmaximize",
   47       "winmenuselectitem", "winminimize", "winminimizeall", "winminimizeallundo",
   48       "winmove", "winrestore", "winset", "winsettitle", "winshow", "winwait",
   49       "winwaitactive", "winwaitclose", "winwaitnotactive"},
   50   },
   51 -- if :: follows, # is part of a hotkey
   52   { Id=2,
   53     Regex = [[(\#\w+?)\:\:]], Group=1
   54   },
   55 -- { Id=2,
   56 --   Regex=[[ [\#\!\^\+\&\<\>\*\~\$]*[\w\&\s]+?\:\: ]],
   57 -- },
   58   { Id=3,
   59     Regex=[[%\w+?%]],
   60   },
   61   { Id=4,
   62     Regex=[[\:.+?\:\:]],
   63   },
   64   { Id=4,
   65     Regex=[[(\w+)\s*\(]]
   66   }
   67 }
   68 
   69 Strings={
   70   Delimiter=[["]],
   71   Escape = [[ `[ntvbrfa\?"] ]],
   72 }
   73 
   74 IgnoreCase=true
   75 
   76 Comments={
   77   { Block=false,
   78     Delimiter= { [[;]] },
   79   },
   80 }
   81 
   82 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\\|\`|%|\.|\+|\-]]
   83 
   84 EnableIndentation=true
   85 
   86 Digits = [[ (?:0x)[0-9a-fA-F']+|\d*[\.]?\d+(?:[eE]\d+)?[blLuU]* ]]