woodyfly Posted May 5, 2014 Posted May 5, 2014 (edited) I have an application and I'm trying to send controlclicks to it. It receives the click but the coords are all off. My app has no controlIDs, just the application title opt("MouseCoordMode",0) ControlClick("app (64bit)","","","right",1,77,866) Any idea why it won't send to the right coords? Edited May 5, 2014 by woodyfly
Autolaser Posted May 5, 2014 Posted May 5, 2014 You must take MouseClick not ControlClick MouseClick ( "button" [, x, y [, clicks = 1 [, speed = 10]]] ) coords in ControlClick is for position within the control. Regards Autolaser
JohnOne Posted May 5, 2014 Posted May 5, 2014 (edited) Try to find how the values by which your clicks are off then compensate for it. example... _ControlClick(77, 866) Func _ControlClick($x, $y) ;if clicks are 20 pixels off on both axis $x += 20 $y += 20 ControlClick("app (64bit)", "", "", "right", 1, $x, $y) EndFunc ;==>_ControlClick Edited May 5, 2014 by JohnOne AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
woodyfly Posted May 7, 2014 Author Posted May 7, 2014 How do I find out where the clicks are landing?
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