Jump to content

Loop - On end run Macro 2


 Share

Recommended Posts

Guys if I have this loop, and I will on it looping finish, run Macro2.au3

How can I code it?

Since it's an uncompiled script (.au3) you have to run the interpreter and pass it the script to execute:

For $x = 1 to 20 step 1
   If $x = 15 then ContinueLoop
   Send("!{TAB}^{PGDN}",0)
   Send("pagesetup {ENTER}")
Next
ShellExecute(@AutoItExe, "/ErrorStdOut /AutoIt3ExecuteScript Macro2.au3", "Open")

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
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...