huskies Posted March 19, 2009 Share Posted March 19, 2009 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 InfoI tried controlclick("Microsoft Excel - Macro.xls", "Run") and it didn't work. <It Shall Be Done> Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 19, 2009 Moderators Share Posted March 19, 2009 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 More sharing options...
huskies Posted March 19, 2009 Author Share Posted March 19, 2009 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 More sharing options...
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