Jump to content
Sign in to follow this  
Splitz

help me with this script

Recommended Posts

i want it to click a certian coordinate, but i dont want it to move the mouse there, is that possible to do with autoit ?

No need for coordinates with ControlClick you need the ControlID


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

how exactly do i get the control id

im using the autoit v3 active window info tool thing but its not showing a controlID: when i put my mouse over places

Share this post


Link to post
Share on other sites

how exactly do i get the control id

im using the autoit v3 active window info tool thing but its not showing a controlID: when i put my mouse over places

then chances are the controls cannot be controlled by AutoIt. You will probably just have to use MouseClick.

$xToClick = 50
$yToClick = 175

$mousePos = MouseGetPos ()
MouseClick ("left", $xToClick, $yToClick, 1, 0)
MouseMove ($mousePos[0], $mousePos[1], 0)

Thats as close As I get could to what you wanted. It will move the mouse to click, then move it back to where it was, very fast. Hopefull so fast that it will be barely noticable.

Obviously change the 50 and 175 at the top to the coordinates you want to click.


The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...