Code: Select all
dll:=ahkthread("#NoTrayIcon`n#Persistent")
;~ dll.ahkExec["result:=2+1"] ;works
;~ dll.ahkExec["result:=2.2+1`nmsgbox % result"] ;works
dll.ahkExec["result:=2.2+1"] ;not working
msgbox % dll.ahkgetvar("result")
Code: Select all
dll:=ahkthread("#NoTrayIcon`n#Persistent")
;~ dll.ahkExec["result:=2+1"] ;works
;~ dll.ahkExec["result:=2.2+1`nmsgbox % result"] ;works
dll.ahkExec["result:=2.2+1"] ;not working
msgbox % dll.ahkgetvar("result")
Code: Select all
dll:=ahkthread("#NoTrayIcon`n#Persistent")
dll.ahkExec["result:=(2.2+1) """""]
msgbox % dll.ahkgetvar("result")
Users browsing this forum: No registered users and 34 guests