langthang084 Posted August 23, 2014 Share Posted August 23, 2014 Thanks guinness for this code: 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 & '" /AutoIt3ExecuteScript "' & $sFilePath & '"', $sWorkingDir, $iShowFlag, $iOptFlag)EndFunc ;==>_RunAU3 But It runs 5 au3 script at the same time, but I want to run it step by step. What could I do? (I dont want to make 5 script in one, because after one finishes, I must change it code (like the folder and the file path) and run again, So I want to change it first to 5 new script, and run step by step) Link to comment Share on other sites More sharing options...
Developers Solution Jos Posted August 23, 2014 Developers Solution Share Posted August 23, 2014 Simply change Run() to RunWait()? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now