shayneh Posted April 11, 2006 Share Posted April 11, 2006 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 Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted April 11, 2006 Moderators Share Posted April 11, 2006 (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,ShayneHYou 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 April 11, 2006 by SmOke_N 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. Link to comment Share on other sites More sharing options...
BigDaddyO Posted April 11, 2006 Share Posted April 11, 2006 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. Link to comment Share on other sites More sharing options...
shayneh Posted April 11, 2006 Author Share Posted April 11, 2006 Cool, just what I wanted. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now