Jump to content

Hotkeyset Problem


 Share

Recommended Posts

Right in the help file! <_<, add a 0 before 99.

To send the ASCII value A (same as pressing ALT+065 on the numeric keypad)

Send("{ASC 065}")

(When using 2 digit ASCII codes you must use a leading 0, otherwise an obsolete 437 code page is used).

Edited by JustinReno
Link to comment
Share on other sites

This worked...

MsgBox (0, "", Chr (097))
HotKeySet (Chr (097), "RunThis")

While 1
    Sleep (10)
WEnd

Func RunThis ()
    MsgBox (0, "", "Key Pressed: " & @HotKeyPressed)
    Exit
EndFunc

EDIT: Also note this:

{ASC nnnn} Send the ALT+nnnn key combination

Edited by Bert
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...