Jump to content

How to run au3 script step by step


Go to solution Solved by Jos,

Recommended Posts

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...