Jump to content

Running Autoit Script on another computer


Recommended Posts

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


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 :D

oh, and read the helpfile man :D

Damian666

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
  • Recently Browsing   0 members

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