Jump to content

Recommended Posts

Posted

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>
  • Moderators
Posted

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.

Posted

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>

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
×
×
  • Create New...