phaolo Posted May 1, 2007 Posted May 1, 2007 (edited) Hello, I have problems with some autoit scripts. They work in normal OS, but they stop at certain points only during RunOnceEx setups. Do you know what could be the error? I've checked if it's due to focus lost, wrong keys or wrong windows names, but all those are correct.Some reduced examples:-------------------------------------; launch program blocking focusBlockInput(1)Run("mailw"); install pathWinWaitActive("Choose Destination Location")Send("{ENTER}"); start menu window closeWinWait("MailWasher")If Not WinActive("MailWasher") Then WinActivate("MailWasher")Send("{ALTDOWN}{F4}{ALTUP}"); finish <---AUTOIT BLOCKS HEREWinWait("Setup Complete")If Not WinActive("Setup Complete") Then WinActivate("Setup Complete")Send("{TAB}{ENTER}");resumes user inputBlockInput(0)---------------------; launch program blocking focusBlockInput(1)Run("codffds"); licenseWinWaitActive("ffdshow-20050703 ","License Agreement")Send("{ENTER}"); avisynth plugin path <---AUTOIT BLOCKS HEREWinWaitActive("ffdshow-20050703","Avisynth plugins directory")Send("{ENTER}"); install pathWinWaitActive("ffdshow-20050703 ","Choose Install Location")Send("{RIGHT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}")Send("Codecs\")Send("{TAB}{TAB}{TAB}{ENTER}"); completeWinWaitActive("ffdshow-20050703 ","Installation Complete")Send("{ENTER}");resumes user inputBlockInput(0)--------------------- Edited May 1, 2007 by phaolo
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