batangcasti Posted May 12, 2008 Share Posted May 12, 2008 (edited) Hello there. I created a script on my computer (screen Res is 1024 X 768). When I ran the script on another machine, the mouse click doesn't click on the correct position on the screen. Is there a better way of clicking the correct spot on the screen without using the mouseposition option? I hope this make sense. I am a complete noob to autoit scripting.thanks. Edited May 12, 2008 by batangcasti Link to comment Share on other sites More sharing options...
damian666 Posted May 12, 2008 Share Posted May 12, 2008 yeah there is actually, its called controlclick.you us ethe window info prog thats installed together with autoit, and check the name of the window and control.then you use the controlclick function to click that control.ControlClick( "title", "text", controlID)title is what you see as title on the window with the control.text is some piece of text that appears in the window, and controlid is the id of the control that you found by using mentioned above program.thats it really, very simple if you get the hang of it oh, and read the helpfile man Damian666 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