Pook Posted January 26, 2007 Posted January 26, 2007 I'm a Noob , and can't get past the install part of the exeThe problem I'm having is that the splash screen always says "Quicken 2007 - Install Wizard". So I can use the send command to click Next, and start the install. However the install part takes about 45sec to finish, and I can't find a way to send the finial commands after the install part is done. ( I've tried the Sleep command, but it don't work right over the network)How to you start up the script up again after the install part is done I'm I losing anyone? CODERun("\\ComputerName\Quicken$\Install.exe")WinWait("Quicken 2007 - Install Wizard","")Send ("{Enter}")Sleep(250)Send ("{Tab}")Sleep(250)Send ("{Tab}")Sleep(250)Send ("{UP}")Send ("{Enter}")Sleep(250)Send ("{Enter}")Sleep(100)Send ("{Enter}")************* This is when it's start the to install the files, anything after this never works***********Send ("{Tab}")sleep(100)Send ("{Enter}")Sleep(100)Send ("{Enter}")So on.
Zedna Posted January 26, 2007 Posted January 26, 2007 Without information about what changes after instal I can't help you. What changes? Title bar? or Window text? or Some button text? or Window close? So maybe: Send ("{Enter}") WinWaitClose ( "title", "text" ) ;************* This is when it's start the to install the files, anything after this never works*********** Send ("{Tab}") Resources UDF ResourcesEx UDF AutoIt Forum Search
NELyon Posted January 26, 2007 Posted January 26, 2007 maybe you are sending the keys during the installation, when they will do nothing. Make it wait until the installation is over.
Pook Posted January 27, 2007 Author Posted January 27, 2007 The same titile bar that is showing during the install, is the one showing after it's done. (no change) After the install is done running, the next to spash screens are just information windows & I just need to click next > next > Done. But the titile on the window stays the same the whole time. Example:http://www.hauntcontroller.com/images/sc/i..._installing.png (just a random image)How do I get the script to wait until the install part is done, if the screen title doesn't change.
Zedna Posted January 27, 2007 Posted January 27, 2007 While ControlCommand ( "title", "text", controlID, "IsEnabled", "") = 0 Sleep(100) WEnd For ControlID use info for button Next. This button is disabled while instaling. Resources UDF ResourcesEx UDF AutoIt Forum Search
Pook Posted January 27, 2007 Author Posted January 27, 2007 ThanksI just found out about Autoit a week ago. Loving it so far, but I know I have alot to learn. On that note.... how do I get the "ControlID " for that button on that slash screen?
Zedna Posted January 27, 2007 Posted January 27, 2007 ThanksI just found out about Autoit a week ago. Loving it so far, but I know I have alot to learn. On that note.... how do I get the "ControlID " for that button on that slash screen?Use AU3Info.exeAlso search for ControlCommand examples in Helpfile and in forum. Resources UDF ResourcesEx UDF AutoIt Forum Search
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