chiners_68 Posted July 5, 2006 Share Posted July 5, 2006 I need a command i can set a wait time on before it proceeds. After installing SP5 for VS6 i have SP6 installing but SP5 hasnt fully closed before SP6 runs & it reports it cannot run as another installation is running. I just want to put in a 10second delay between one & the other. Link to comment Share on other sites More sharing options...
marfdaman Posted July 5, 2006 Share Posted July 5, 2006 (edited) A ten second delay is achieved by putting in a Sleep(10000) Edit: are you aware that there is also a RunWait command? Runs an external program and pauses script execution until the program finishes. Alzo Edited July 5, 2006 by marfdaman Don't take my pic to serious...~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~You Looked, but you did not see!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Link to comment Share on other sites More sharing options...
chiners_68 Posted July 5, 2006 Author Share Posted July 5, 2006 I was aware of a runwait the problem is i send keystrokes to complete the SP5 install after the exe file is run so i dont want it waiting before my SP5 keystrokes process. Link to comment Share on other sites More sharing options...
marfdaman Posted July 5, 2006 Share Posted July 5, 2006 ? Basically you're saying that there is some time between the ending of the .exe of the SP5 install, and the time you want to start the SP6 one? What happens when you 1. Run the SP5 install; 2. Send your keystrokes; 3. Wait some time (10 secs you said), this wuld be a sleep or a loop with the Timer functions 4. Run the SP6 install? Is this what you want to do, or am I still missing something? Don't take my pic to serious...~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~You Looked, but you did not see!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Link to comment Share on other sites More sharing options...
herewasplato Posted July 5, 2006 Share Posted July 5, 2006 If marfdaman has summarized your request correctly, then I would take a look at ProcessWaitClose for step 3.? Basically you're saying that there is some time between the ending of the .exe of the SP5 install, and the time you want to start the SP6 one? What happens when you1. Run the SP5 install;2. Send your keystrokes;3. Wait some time (10 secs you said), this wuld be a sleep or a loop with the Timer functions4. Run the SP6 install?Is this what you want to do, or am I still missing something? [size="1"][font="Arial"].[u].[/u][/font][/size] 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