Negative1 Posted January 25, 2011 Posted January 25, 2011 Hi all, How would I go about finding out the corrdinates of the next type a person clicks after calling a function? Thanks, -1 What are we going to do tonight Brain?Same thing we do every night Pinky try to automate the world.
Andreik Posted January 25, 2011 Posted January 25, 2011 #include <Misc.au3> While True If _IsPressed('01') Then ;Left click is pressed $POS = MouseGetPos() TrayTip("Mouse position","X: " & $POS[0] & "; Y: " & $POS[1],1) ElseIf _IsPressed(20) Then ;Press Spacebar to exit Exit EndIf Sleep(10) WEnd
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