Jump to content
Sign in to follow this  
rhknights

Program

Recommended Posts

rhknights

Hi, I'm new to this, would like to know how to create a program to let me press a button and I can get the mouse position..

Have the code written, but it end before I could do anything..

HotkeySet("{F8}","Debug")

;----------------------------

Func Debug()

$pos = MouseGetPos()

MsgBox(0, "Mouse x,y:", $pos[0] & "," & $pos[1])

EndFunc

How can I make it a resident program??

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  

×