Jump to content
Sign in to follow this  
langthang084

How to run au3 script step by step

Recommended Posts

langthang084

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)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×