dodger42 Posted August 6, 2006 Share Posted August 6, 2006 A quick question regarding return values. If I call an autoit application from another, and the called application returns $var, does the calling application get $var or something else? Thanks. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 7, 2006 Moderators Share Posted August 7, 2006 (edited) No, you'll have to look at the Std* UDF's in the beta help file for something like that. Wait... Are you asking if App 1 calls a function within itself, will App 1 get the return value? The answer is yes for that as well if you were doing it for App2 to App2, but App2 won't get the return value from App 1 and App 1 won't get it from App 2 without manipulating the Std* UDF's. Edited August 7, 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...
/dev/null Posted August 7, 2006 Share Posted August 7, 2006 A quick question regarding return values. If I call an autoit application from another, and the called application returns $var, does the calling application get $var or something else?Thanks.RunWait() will return the exit code of the application. See help file.CheersKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
dodger42 Posted August 7, 2006 Author Share Posted August 7, 2006 Ok thanks guys. I will checkout runwait(). 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