Jump to content
Sign in to follow this  
Jamie1414

Having trouble finding mouse cords

Recommended Posts

Jamie1414

i used to have a program that displayed where my mouse cords were to make it so much easier to know where im clicking, could any1 give me that code or sumtin?

thanks in advance

Share this post


Link to post
Share on other sites
covaks

Uhm... AutoIT comes with the AutoIT Window Info tool... which does exactly that...

Share this post


Link to post
Share on other sites
Vhaerun

In the worst case , use something like this :

While 1
      $position=MouseGetPos()
      MsgBox(0,"Coords",$position[0] & " " & $position[1]);
WEnd

Share this post


Link to post
Share on other sites
weaponx

In the worst case , use something like this :

While 1
       $position=MouseGetPos()
       MsgBox(0,"Coords",$position[0] & " " & $position[1]);
 WEnd
Using this code you will only ever get the coordinates of the OK button on the messagebox...better to use a small gui and update labels with the position.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.