boyemillar Posted July 28, 2008 Share Posted July 28, 2008 Run("\\Program\Setup.exe") WinActivate("ProgramName - InstallShield Wizard") WinWaitActive("ProgramName - InstallShield Wizard") Sleep(5000) ControlClick("ProgramName - InstallShield Wizard", "", "&Next >", "Left", 1) Sleep(1000) ControlClick("ProgramName - InstallShield Wizard", "", "&Next >", "Left", 1) Sleep(1000) ControlClick("ProgramName - InstallShield Wizard", "", "&Install", "Left", 1) Sleep(80000) ControlClick("ProgramName - InstallShield Wizard", "", "&Finish", "Left", 1) In the script above i have had to set sleep() statements to wait for the steps in the install. Is there any other way to do this like wait for a button to become active Link to comment Share on other sites More sharing options...
bogQ Posted July 28, 2008 Share Posted July 28, 2008 ControlFocus("Add Hardware Wizard", "", "[CLASS:Button; INSTANCE:1]") $a = ControlGetFocus("Add Hardware Wizard") If $a <> "" Then MsgBox(0,"","i see it") Else MsgBox(0,"","i dont see it") EndIf probably something like this itl try to see if button INSTANCE:1 can b focused or not TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost. 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