Question[Help]Hotkey Functions

Posts 17 of 7 · Page 1 of 1
[Help]Hotkey Functions
I wanted to create this...

Code:
    Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
        Dim MouseMoverOn As Boolean
        MouseMoverOn = GetAsyncKeyState(ComboBox1.Text)
        If MouseMoverOn = True Then
            Timer1.Enabled = True
        End If
    End Sub
I know that it doesnt work but can someone tell me how to let GetAsyncKeyState get the Keys from ComboBox1 ?
On Comx_textchanged

Code:
Dim MouseMoveron as Boolean

If ComboBox1.Text = "F1" Then
MouseMoverOn = GetAsyncKeystate(Keys.F1)
Elseif ComboBox1.Text = "F2" Then
MouseMoverOn = GetAsyncKeystate(Keys.F2)
ElseIf ComboBox2.Text = "F3" Then
MouseMoverOn = GetAsynckeystate(Keys.F3)
End if

If MouseMoverOn = True Then
Timer1.enabled = true
end if
And so on...should actually work...IMO
wow its a big code x)
But its the best Solution =)
Is it working properly?
Yeah the Code works but its so much work ... =(
much?

LoL.

It's not that much

My CoD6 trainer has like 4500+ lines of code
=)
But thanks for this tipp
Posts 17 of 7 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?