Sign in to follow this  
Followers 0
MaybeTomorrow

Probably the simplest question out there

4 posts in this topic

To automate some mundane tasks at work i've created a script that finds close buttons

Using pixelsearch i store a variable of where to click

then i use a mouseclick

MouseClick("left", $Clickt[0], $Click[1])

Is there anyway to apply math to this? I need to click about 30 pixels lower

Thanks for all the help so far, this one should be easy for you guys

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

MouseClick("left", $Clickt[0] + 30, $Click[1])
Edited by somdcomputerguy

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites
MouseClick("left", $Clickt[0] + 30, $Click[1])

 

I put the +30 at the second coord though ;)

Share this post


Link to post
Share on other sites

Ha, getting X & Y mixed up is one of biggest common blunders I make! :oops:


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

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  
Followers 0