Jump to content

How to ControlClick button with no ID?


Recommended Posts

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>
Link to comment
Share on other sites

  • Moderators

Try:

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

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.

Link to comment
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>
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...