Sign in to follow this  
Followers 0
PerryRaptor

Help...Can't find a method to click a button

3 posts in this topic

I'm struggling with a button. AutoIT Window Info tool says it static and text, and the text doesn't match that of the button.

So I'm thinking that the button I want to click is overdrawn and I do not know how to expose its properties in order to click it.

I've tried ControlEnable(), ControlShow(), ControlClick(), ControlSend()

Any help would be appreciated

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Turn ON option "HighLight Controls" to be sure it show you info about your control and not about some other control which is hidden and overlay your button.

See here

Edited by Zedna

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

I do use the Highlight Controls option whenever I use the tool.

The button I want has exactly the same dimensions as the static text that keeps getting in my way.

I need a method to enumerate all controls, or a way to hover the mouse over the button I want and not get the hidden static text.

Another method that would work would be to search on the text of the button I want and return the Control ID.

The AutoIT Windows Info Tool dislays the text of the control I want down in the bottom in the "visible window text" list.

Edited by PerryRaptor

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0