Sign in to follow this  
Followers 0
Kripp4

Mousegetpos

3 posts in this topic

Are there any way to get the cords of the mouse when i click? Like when i have it on the center of the screen then it saves the cords...

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Yes, run this script

GuiCreate ( "Click recognizer thingy-bobber", @DesktopWidth, @DesktopHeight, 0, 0 )
While 1
    Sleep ( 10 )
    $status = GUIGetCursorInfo ( )
    If $status[2] = 1 Then MsgBox ( 0, "Click detected", "You clicked at " & $status[0] & "x " & $status[1] & "y!" )
WEnd
Edited by Xenogis

[font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font]

Share this post


Link to post
Share on other sites

Thx dude :)

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