Simplified Hotkey Example
Shows how to emplement a hotkey globally. This example uses the ` key (192).
API Declarations
'Add To Module
Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
Rate Simplified Hotkey Example
(5(5 Vote))
'Add To A Timer With An Interval Of 1
keyresult = GetAsyncKeyState(192)
If keyresult = 0 Then Exit Sub
If keyresult = -32767 Then
MsgBox "The ` key was pressed."
End If
Simplified Hotkey Example Comments
No comments yet — be the first to post one!
Post a Comment