- Fixed bug when assigning a variable to a ternary operation.
Post your working scripts, libraries and tools
for reference, AHK_H can do Eval() stuff built-in:
ahkExec() is one function provided to allow it, i think there are a few others for doing it in separate threads
Code: Select all
var := 99 MsgBox var=%var% mycode := "var2 := var+2`nMsgBox, var2 from within ahkExec = `%var2`%" MsgBox, mycode to dynamically execute:`n`n%mycode% ahkExec(mycode) MsgBox, var2 from main script = %var2%