Jump to content

Recommended Posts

Posted

Hi All,

1. How can I return a value from a script, and how do I read it? For example: I want to return a value of 0 or 1 from the script to define success or failure.

2. I am running this script from the command line. Will the autoit3.exe return me this value?

Thanks!!! :blink:

Posted

1. How can I return a value from a script, and how do I read it? For example: I want to return a value of 0 or 1 from the script to define success or failure.

For example like this:

msgbox(0,"",@error)

2. I am running this script from the command line. Will the autoit3.exe return me this value?

Not sure. You can try running it from the script editor first and then run it from the command line to see if it still works.

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
×
×
  • Create New...