Jump to content

Recommended Posts

Posted

I need the ability to Call an Au3 and pass data to it.

Of note, the sctipt is actually going to call itself.

It's the only way I can think of to abort a loop if an error occurs... call a function that passes the current record (+1) to a copy of itself, then killing its own process...

The program will proceed from the next record.....

But I'd rather not compile the program....

Everseeker

Posted

Any script you compile in AutoIt can run an au3.

Say your script is called "MyScript.au3". You do this:

Run(@ScriptFullPath & " /ErrorStdOut /AutoIt3ExecuteScript MyOtherScript.au3 MyPassedVariable")

When you compile you will have MyScript.exe launch MyOtherScript.au3.

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
  • Recently Browsing   0 members

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