coucou Posted February 6, 2006 Share Posted February 6, 2006 Hi,I build an automatic install file. When i launch it, the install is closed (cancelled) after the second window.Here the .au3 file commandRun("wwisetup1_747628.exe") WinWaitActive("Window Washer Setup") Send("!n") ;Accept License agreement WinWaitActive("Installation de Window Washer", "I Agree") ControlClick("Installation de Window Washer", "I Agree", "TButton4")In fact, when the [i Agree] button is selected its outline become orange (color) and when is not selected the outline are white (see the image here bellow). Ater looking closely the AutoIt Window Info, I noticed that the [i Agree] button is corresponding to Exit (see the image here bellow).>>>>>>>>>>> Control Under Mouse <<<<<<<<<<< Size: X Control ID: 67544 ClassNameNN: TButton4 Text: &ExitDoes anyone could help how do i get ride from this.Regardscoucou Link to comment Share on other sites More sharing options...
Developers Jos Posted February 6, 2006 Developers Share Posted February 6, 2006 (edited) The window title is wrong ? WinWait("Window Washer Setup", "I Agree") ControlClick("Window Washer Setup", "I Agree", "TButton4") Edited February 6, 2006 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
coucou Posted February 6, 2006 Author Share Posted February 6, 2006 TNX JdeB for reply,The window title is wrong ?I don't think so!!! If you look closely to AutoIt Window Info >>>Visible Window Text<<< you'll notice 3 tetxs: "I Agree"; "&Cancel"; "PLEASE READ THIS AGReEMENT CAREFUlLY". Then, anyone of those text should be correct. Anyway, I've tried thisWinWait("Window Washer Setup", "PLEASE READ THIS AGReEMENT CAREFUlLY") ControlClick("Window Washer Setup", "PLEASE READ THIS AGReEMENT CAREFUlLY", "TButton4")and thisWinWait("Window Washer Setup") ControlClick("Window Washer Setup", "", "TButton4")without success Any advise/suggestion will be wellcome Regards coucou 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