Sign in to follow this  
Followers 0
dmanstasiu

Mouse troubles

4 posts in this topic

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.

Share this post


Link to post
Share on other sites

Post your code...

Share this post


Link to post
Share on other sites

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 :D


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

Share this post


Link to post
Share on other sites

#4 ·  Posted (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 :D

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 by dmanstasiu

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