Jump to content

way to store current mouse coord to variable?


Recommended Posts

Use MouseGetPos()...Example:

$MousePosition = MouseGetPos()
MsgBox(-1, 'Coords', 'X: ' & $MousePosition[0] & 'Y: ' & $MousePosition[1])

$MousePosition[0] stores the X-coords of the mouse.

$MousePosition[1] stores the Y-coords of the mouse.

For more info see this page.

Hope that's what you wanted :)

Edited by Vadersapien
Try Pacfox, my Firefox theme.Try Power Eject, my windows gadget that allows you to eject most drives.Using AutoIt 3.3.4.0, Windows 7 Premium, Intel Core 2 Quad CPU @ 2.66ghz, 4gb RAM, Nvidia GeForce 9500GT Graphics Card & Samsung 22" Monitor.
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...