sshrum Posted April 17, 2006 Share Posted April 17, 2006 How does one get the return code from the program run from the RUN() function? Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot' Link to comment Share on other sites More sharing options...
Valuater Posted April 17, 2006 Share Posted April 17, 2006 1$val = RunWait("Notepad.exe", "C:\WINDOWS", @SW_MAXIMIZE) ; script waits until Notepad closes MsgBox(0, "Program returned with exit code:", $val)2http://www.autoitscript.com/forum/index.php?showtopic=23096#8) Link to comment Share on other sites More sharing options...
sshrum Posted April 17, 2006 Author Share Posted April 17, 2006 thx Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot' 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