proyb2 Posted December 5, 2005 Posted December 5, 2005 (edited) using HP printer setup installation, it have the same titles throughout all installation steps but only up to license agreement section, there is no way to detect using Wingettext() and Winwaitactive() where it has only RichEdit property shown license in text and 2 buttons of &Agree and &Decline...tired to work with button text detection would not be possible for me too... installation on win 9x would be very slow than win2k and latest...so delay timing and loop was not an option for me... using mouse movement will work better but how do i mange to detect the license section? Edited December 5, 2005 by proyb2
Nuffilein805 Posted December 5, 2005 Posted December 5, 2005 how bout using autoitwindowinfo and controlclick? maybe add a little sleep(50) this should be quite fast my little chatmy little encryption toolmy little hidermy unsafe clickbot
Moderators SmOke_N Posted December 5, 2005 Moderators Posted December 5, 2005 As Nuffilein said... Using AutoInfo Tool, do you have a "unique Class" for that window? If so you could do something like: Paint as an example... >>>>>>>>>>>> Window Details <<<<<<<<<<<<< Title: untitled - Paint Class: MSPaintApp >>>>>>>>>>> Control Under Mouse <<<<<<<<<<< Size: X: 0 Y: 284 W: 267 H: 49 Control ID: 59422 ClassNameNN: AfxControlBar42u2 WinWaitActive("classname=MSPaintApp") ControlClick("classname=MSPaintApp", "text of button", "AfxControlBar42u2", "left", 1); notice "left" and 1 are default Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
proyb2 Posted December 5, 2005 Author Posted December 5, 2005 (edited) info window show nothing except there are only 2 buttons which are visible text i hope there are some function to get text on RichEdit property which contain license agreement Edited December 5, 2005 by proyb2
GaryFrost Posted December 5, 2005 Posted December 5, 2005 why not just do silent install SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
BigDod Posted December 5, 2005 Posted December 5, 2005 (edited) info window show nothing except there are only 2 buttons which are visible text i hope there are some function to get text on RichEdit property which contain license agreementJust a shot in the dark but how about using Opt("WinSearchChildren", 1) Then search for text on button. Edited December 5, 2005 by BigDod Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother
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