Sign in to follow this  
Followers 0
larcerkev

way to store current mouse coord to variable?

3 posts in this topic

#1 ·  Posted (edited)

Hmmm, I should really spend a lot more time scanning the functions.... nvm about the whole question. I feel stupid now

Edited by larcerkev

Share this post


Link to post
Share on other sites



Look up MouseGetPos in the help file

HTH,

whim

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

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.

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