Sign in to follow this  
Followers 0
shayneh

Pass Value Back Out Of Script?

4 posts in this topic

Is it possible to have a script pass a return value back to the process that called it? eg another script, VB exe etc that has run an AutoIt3 script with some input parameters and expects a return value.

Thanks,

ShayneH

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Is it possible to have a script pass a return value back to the process that called it? eg another script, VB exe etc that has run an AutoIt3 script with some input parameters and expects a return value.

Thanks,

ShayneH

You can look at: StdoutRead / StdWrite / StderrRead or you can write to a file and parse for answer (ie.. ini / dat), I'm sure there are other suggestions... GL And welcome to the forum.

Edit: Typo

Edited by SmOke_N

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

if the variable you want to pass is a number then you can specify that with the Exit command. if it's text then yes, you are stuck with writing to a file, or Registry.


Share this post


Link to post
Share on other sites

Cool, just what I wanted.

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  
Followers 0