Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus
MsgBox 1
SCTIPT = "Msgbox test"
ahkdll := DllCall("LoadLibrary", "Str", dll:="Autohotkey.dll","Ptr")
DllCall(dll "\ahktextdll", "Str", "SCTIPT --> + ARGS <---??? ", "Str", "thread", "Cdecl Int")
While DllCall(dll "\ahkReady")
Sleep 100
DllCall("FreeLibrary", "Ptr", ahkdll)
MsgBox 3
Can i run my script with parametrs (args) via autohotket.dll ?
like this AutoHotKey.exe / arg1
If u can give me small example