[Video TUT]How to make hotkeys in visualbasic08
i just thought i would make a tut on how to make hotkeys that you HOLD and let go and they stop i like them more than most hotkeys but heres how you do it.
Put this at the top of your code:
Put this in your hotkey timer:
Put this at the top of your code:
Code:
Private Declare Function GetAsyncKeyState Lib "user32"(ByVal vkey As Long) As Integer
Code:
Dim starthotkey As Boolean starthotkey = GetAsyncKeyState(Keys.Insert) If starthotkey = True Then 'main function of your program
