beast Posted September 24, 2007 Share Posted September 24, 2007 I have problem to make auto install script for a program. Setup at end is different for some computers, Some need restart and some ask if user want to start the program. How can I make a script thats waiting for some of this two dialogs and continue right script functions for selected dialog. Link to comment Share on other sites More sharing options...
Zedna Posted September 24, 2007 Share Posted September 24, 2007 Place While 1 Sleep(100) Loop and make two AdLib functions to catch your differrent windows. or While 1 If WinActive("Win1") Then ... If WinActive("Win2") Then ... Sleep(100) Loop Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
beast Posted September 24, 2007 Author Share Posted September 24, 2007 Place While 1 Sleep(100)Loopand make two AdLib functions to catch your differrent windows.orWhile 1 If WinActive("Win1") Then ... If WinActive("Win2") Then ... Sleep(100)LoopTHX 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