Sign in to follow this  
Followers 0
huskies

How to ControlClick button with no ID?

3 posts in this topic

Posted Image

how do I controlclick the Run button without using x y co-ords (going to use this on different computers with different monitor sizes). this button has no ID or Text on Autoit Window Info

I tried controlclick("Microsoft Excel - Macro.xls", "Run") and it didn't work.


<It Shall Be Done>

Share this post


Link to post
Share on other sites



Try:

ControlClick("Microsoft Excel - Macro.xls", "", "F3 Server 600000001")


[center]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.[/center]

Share this post


Link to post
Share on other sites

Try:

ControlClick("Microsoft Excel - Macro.xls", "", "F3 Server 600000001")
thanks, but it is still not clicking, i added a msgbox(0,"done","done") after, and i got the msgbox but the button wasn't clicked

<It Shall Be Done>

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