[Help]Hotkeys for combat arms
Hey guys i have made a spammer for combat arms with hotkeys but at the moment the hotkeys only work in notepad and not for combat arms
This is my hotkey code so far
Code:
Public Class Form1
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Int32) As Int16
Dim maybe1 As Boolean
Dim maybe2 As Boolean
Code:
Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
If GetAsyncKeyState(Keys.F7) Then
Button1_Click(sender, e)
End If
If GetAsyncKeyState(Keys.F8) Then
Button2_Click(sender, e)
End If
End Sub
End Class
now im just wondering if you guys could plz help me get the code to work in combat arms.
yea i want it to spam the ingame chat thing in combat arms
and the code u said i should get rid of is important
hi where do i add the sub-procedure to the form
ok dude for this
If GetAsyncKeyState(Keys.F7) Then
'Press the required key by using the following line. Use the following statement multiple times to stimulate multiple keys at a time. (Combination)
PressKey(Keys.A)
End If
If GetAsyncKeyState(Keys.F8) Then
'Press the required key by using the following line. Use the following statement multiple times to stimulate multiple keys at a time. (Combination)
'Prints the screen
PressKey(Keys.PrintScreen)
does the user press f8 or the printscreen button?
and what is this bit for?
'Press the required key by using the following line. Use the following statement multiple times to stimulate multiple keys at a time. (Combination)
'Prints the screen
PressKey(Keys.PrintScreen)
thanks bt im looking 4 code not dll things bt ill try
no i have not had time just started school again after holidays