Jump to content

Program


Recommended Posts

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??

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...