EdDyreen Posted June 23, 2012 Posted June 23, 2012 (edited) ' I have an application with several buttons that all show up in Window Info as one and the same button. These 'child' buttons look like a comboSelectionBox, an editBox and a button. Then there are several other buttons and edit boxes. Dunno how I figured it out, maybe a code remainder after a version update or I noticed the first detectable button/editBox/.. is an instance 2 ! No idea why I can click button1/Edit1/... that isn't detected by Window Info. Some sort of overLay going on ? But if it is overLayed, then why can I click these individual child buttons !? Can I assume that if the first detected button is an instance 2 an instance 1 must always exist ? Any idea's how to detect secret 'child' buttons, that are not detected by window Info ? Edited June 23, 2012 by EdDyreen • Any number images • Images of any size • Any number of URLs • Any number of lines
JohnOne Posted June 23, 2012 Posted June 23, 2012 Try using spy++ or spy++ control detection logic from wininfo options. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
EdDyreen Posted June 23, 2012 Author Posted June 23, 2012 (edited) ' spy++ control detection logic was enabled during detection, it is enabled by default. Can I assume that if the first detected button is an instance 2 an instance 1 must always exist ? If so, a develloper might decide to make hidden buttons last so they would have the higher instance, and noone would notice unless they tested explicitly. Edited June 23, 2012 by EdDyreen • Any number images • Images of any size • Any number of URLs • Any number of lines
JohnOne Posted June 23, 2012 Posted June 23, 2012 I've learnt not to assume anything in the world of coding. But if you think so, I suppose you better make the worlds software developers aware of your thoughts. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
EdDyreen Posted June 24, 2012 Author Posted June 24, 2012 (edited) ' Ok, thanks for having helped me with my game bot, it is fully functional now, no further assistance needed, thanks ! Edited June 24, 2012 by EdDyreen • Any number images • Images of any size • Any number of URLs • Any number of lines
JohnOne Posted June 24, 2012 Posted June 24, 2012 You're welcome. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
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