MaybeTomorrow Posted June 3, 2014 Posted June 3, 2014 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
Solution somdcomputerguy Posted June 3, 2014 Solution Posted June 3, 2014 (edited) MouseClick("left", $Clickt[0] + 30, $Click[1]) Edited June 3, 2014 by somdcomputerguy - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change.
MaybeTomorrow Posted June 3, 2014 Author Posted June 3, 2014 MouseClick("left", $Clickt[0] + 30, $Click[1]) I put the +30 at the second coord though
somdcomputerguy Posted June 3, 2014 Posted June 3, 2014 Ha, getting X & Y mixed up is one of biggest common blunders I make! - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change.
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