PerryRaptor Posted January 10, 2007 Posted January 10, 2007 (edited) So I've got this button that changes properties, e.g. START, STOP, and EXIT. Using the AutoIT ACtive Window Info tool:- The ClassNameNN: never changes and it never matches the text on the control or the visible windows text- The Text of the control reported by the tool never changes- The Windows Title doesn't change eitherI'm using this, ControlClick( "<windows title>", "", 1175), but it is not working.Any ideas how to click this button? Also, what is going on with (Control is hidden) ?>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<Size: X: 666 Y: 603 W: 75 H: 23Control ID: 1175ClassNameNN: Static8Text: DeniedStyle: 0x40020000ExStyle: 0x00000004(Control is hidden) Edited January 10, 2007 by PerryRaptor
herewasplato Posted January 10, 2007 Posted January 10, 2007 ControlClick("<windows title>", "", "Static8") [size="1"][font="Arial"].[u].[/u][/font][/size]
CoePSX Posted January 10, 2007 Posted January 10, 2007 It could be disabled. Try using ControlEnable to enable it before clicking. And maybe ControlShow too. [quote name='Valik' post='301213' date='Jan 31 2007, 10:36 PM']You seem to have a habit of putting things in the wrong place. I feel sorry for any female you attempt to have sex with.[/quote][font="Lucida Sans Unicode"]╔══════════════════════════════╗║░░██░░░░░░░░██░░███░░░████░░░█║║░█░░█░░██░░█░░█░█░░█░█░░░░█░█░║║░█░░░░█░░█░████░███░░░██░░░█░░║║░█░░█░█░░█░█░░░░█░░░░░░░█░█░█░║║░░██░░░██░░░██░░█░░░░███░█░░░█║╚══════════════════════════════╝[/font]
PerryRaptor Posted January 13, 2007 Author Posted January 13, 2007 I've tried a few more things and still nothing works. It appears to me that the button is over-drawn "text: Denied" and I'm thinking that the control parameters are based on the background and not the foreground. So my new question is..."how do you determine if a control is over-drawn and if so, how do you click it?
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