djkevin33 Posted April 29, 2008 Posted April 29, 2008 Hallo, I want to run a external program with a autoit Script, i want to stop the execution of the autoit-script during the execution of the external program? What is th good command? runwait, dosn't work? Ihave you another idee? Thankyou.
Drew Posted April 29, 2008 Posted April 29, 2008 (edited) I KNOW I read about how to do this in the help file somewhere. But I can't think of where. What you could do if noone who knows what I'm remembering posts, do something like If WinExists ( "title" ) Then Sleep( delay ) I'm guessing that would pause the script until that window is closed? Sorry if this doesn't help at all , If I remember what I'm thinking about I'll reply. Edited April 29, 2008 by Drew
rudi Posted April 29, 2008 Posted April 29, 2008 Hi. I want to run a external program with a autoit Script, i want to stop the execution of the autoit-script during the execution of the external program? What is th good command? runwait, dosn't work? Ihave you another idee? Thankyou. While ProcessExists("Process Name") Sleep(500) WEnd regards, Rudi. Earth is flat, pigs can fly, and Nuclear Power is SAFE!
Wooltown Posted April 29, 2008 Posted April 29, 2008 RunWait is the command to use, what type of program are you launching ? - If it is an installer program, then the original program you try to run can spawn another program and then exit, then the program that RunWait executed has come to an end.
Drew Posted April 29, 2008 Posted April 29, 2008 Disregard my post as rudi's will probably work much better . I'm not sure if thats what I think I was remembering , but I know it will work.
djkevin33 Posted April 29, 2008 Author Posted April 29, 2008 I make a script for autmotisation of Sysprep.exe
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