Code: Select all
dll0:=ahkthread(MyScript)
MyScript:=""
Code: Select all
dll0:=ahkthread(MyScript)
MyScript:=""
Code: Select all
ahkdll:=AhkThread("MsgBox this is my script")
MsgBox % ahkdll.ahkgetvar("A_LineFile")
Code: Select all
string:="
(
loop 100
{
tooltip % A_Index
sleep 100
}
return
#If Test()
#If
Test(){
; do nothing
return
}
)"
dll0:=ahkthread(string)
return
!x::
dll0.ahkReload()
return
A_LineFile contains the full file path of currently running script (ahkdll + addFile) or the script as string/text (ahktextdll or addScript).
Users browsing this forum: No registered users and 19 guests