gregorilla.blogg.se

Ahk 2
Ahk 2




ahk 2

If RegExMatch(Line, "i)^(.*)(return)(\s+%\s*\s+)(.*)$ ", &Equation) To attach helpful info that can be read by custom functions OScriptString := StrSplit(ScriptString, "`n ", "`r ") Splashtexton and Splashtextoff is removed, but alternative gui code is available

ahk 2

Directives := "#Warn UseUnsetLocal`r`n#Warn UseUnsetGlobal" Global EOLComment_Func := "" _Funcs can use this to add comments at EOL Global NL_Func := "" _Funcs can use this to add New Previous Line Global mGuiCObject := map() Create a map to return the object of a control Global mGuiCType := map() Create a map to return the type of control Global mAltLabel := GetAltLabelsMap(ScriptString) Create a map of labels who are identical Global GuiVList Used to list all variable names defined in a Gui Global SingleIndent := RegExMatch(ScriptString, "(^|)( +|\t) ", &SingleIndent) ? SingleIndent : " " First spaces or single tab found.

ahk 2

Global O_Index := 0 current index of the lines Global oScriptString array of all the lines Global aListLabelsToFunction := Array() array of objects with the properties and that should be converted from label to Function Global aListMatchObject := Array() list of strings that should be converted from Match Object V1 to Match Object V2 Global aListPseudoArray := Array() list of strings that should be converted from pseudoArray to Array ErrorLevel := InStr(ScriptString, "ErrorLevel ") Global ScriptStringsUsed := Array() Keeps an array of interesting strings used in the script






Ahk 2