dvSHOW Posted December 30, 2007 Share Posted December 30, 2007 (edited) Hey... I am making autoit script. What do i must write instead of Sleep (10000), i need something else, not pause, any suggestion?here is my script; RunRun($SF_1); SetupWinWaitActive("ACDSee Pro 2")Send("{ENTER}"); License AgreementWinWaitActive("ACDSee Pro 2")Send("{UP}")Send("{ENTER}"); Customer InformationWinActive("ACDSee Pro")Send("username")Send("{TAB 3}")Send("XXXXX-XXXX-XXXXXX-XXXXXX")Send("{TAB 2}")Send("{ENTER}"); Setup TyteWinWaitActive("ACDSee Pro 2")Send("{ENTER}"); Shell integrated SetupWinWaitActive("ACDSee Pro 2")Send("{ENTER}"); Ready to installWinWaitActive("ACDSee Pro 2")Send("{ENTER}")[color="#FF0000"][b]Sleep(24000)[/b][/color]; FinishWinWaitActive("ACDSee Pro 2")Send("{TAB}")Send("{SPACE}")Send("{TAB}")Send("{ENTER}") Edited December 30, 2007 by dvSHOW Link to comment Share on other sites More sharing options...
MadBoy Posted December 31, 2007 Share Posted December 31, 2007 ; Ready to installWinWaitActive("ACDSee Pro 2")Send("{ENTER}")[color="#FF0000"][b]Sleep(24000)[/b][/color]; FinishWinWaitActive("ACDSee Pro 2")Send("{TAB}")Send("{SPACE}")Send("{TAB}")Send("{ENTER}")Since between one window and another you've got WinWaitActive you can simply remove Sleep. You will get more help on AutoIt related forum. Link to comment Share on other sites More sharing options...
dvSHOW Posted December 31, 2007 Author Share Posted December 31, 2007 thanks i found the way out.... 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