How do I call an AutoIt script from another AutoIt script?
I must be missing something, I thought I'd seen a way of doing this, but now I can't find it. Do I have to use Run/RunWait or ShellExecute/ShellExecuteWait?
Newbie
I just ran this and got 5 message boxes as I suspected. If you're having problems Mikeman27294 please post a re-producing script of the problem. AU3_Example.txt file: MsgBox(0, "It Works", "Hello World") AutoIt Script: _RunAU3("AU3_Example.txt")
_RunAU3("AU3_Example.txt")
_RunAU3("AU3_Example.txt")
_RunAU3("AU3_Example.txt")
_RunAU3("AU3_Example.txt")
Func _RunAU3($sFilePath, $sWorkingDir = "", $iShowFlag = @SW_SHOW, $iOptFlag = 0)
Return Run('"' & @AutoItExe & '" /AutoIt3ExecuteScr