
Originally Posted by
shocko
hotkey while im ingame...
At the top of your form put.
Code:
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Long) As Integer
Then make a new timer and for the code put.
Code:
Dim starthotkey As Boolean
starthotkey = GetAsyncKeyState(Keys.End)
If starthotkey = True Then
'you function here Example for a spammer SendKeys.Send(TextBox1.Text)
SendKeys.Send("{ENTER}")
after if starthotkey = true then you put what your timer or what ever the main function is that you are trying to use.
and you can change the hotkey in the code i put the hotkey is end.