dmanstasiu Posted September 8, 2008 Posted September 8, 2008 Any ideas? I execute it with my mouse being at the position i want, look for the return code, and dont see the x y values.
Xand3r Posted September 8, 2008 Posted September 8, 2008 First of all it's MouseGetPos() and not GetMousePost() and the result is a 2d array : $array=MouseGetPos() $array[0] = the x coordinate $array[1] = the y coordinate cheers Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro
dmanstasiu Posted September 8, 2008 Author Posted September 8, 2008 (edited) First of all it's MouseGetPos() and not GetMousePost() and the result is a 2d array : $array=MouseGetPos() $array[0] = the x coordinate $array[1] = the y coordinate cheers So i have to run : $array=MouseGetPos() $array[0] = the x coordinate $array[1] = the y coordinate is that it? cuz i just tried GetMousePos() i still dont understand all these variables and stuff....ya i suck Ty <<EDIT>> i got the mousepose thing: Here it is for those who want it: $pos = MouseGetPos() MsgBox(0, "Mouse x,y:", $pos[0] & "," & $pos[1]) Edited September 8, 2008 by dmanstasiu
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