Jump to content

Mouse troubles


Recommended Posts

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

Link to comment
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

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...