erikson Posted January 22, 2007 Share Posted January 22, 2007 hi codemasters! so i have a little question i make a script.. in this script i run a command like run ("c:\program files\office\word.exe") after this command i run another one like run ("c:\c:\program files\office\exel.exe") all i whant is that the second command wait for the first one to end before start Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted January 22, 2007 Moderators Share Posted January 22, 2007 1. Your "c:\c:\program files\office\exel.exe" doesn't look right in the 2nd "run" scenerio. 2. Use RunWait(). 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...
erikson Posted January 22, 2007 Author Share Posted January 22, 2007 1. Your "c:\c:\program files\office\exel.exe" doesn't look right in the 2nd "run" scenerio.2. Use RunWait().thanks for the answersorry for the mistake ""c:\c:\program files" lets supose that the 1`st program that i run it take aprox 20 sec to load. can i make a window (gui) with a message "please wait " and after the run program completed that window dissapear? 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