exa
05-20-2010, 05:06 AM
Hi,
I would like to run a script like this one:
Private Sub txtContract_Labor_KeyPress(KeyAscii)
Dim time
time = 0
If KeyAscii = "{LEFT}" Then
Do While time < 2
sleep 1000
KeyAscii = 0
SendKeys "a"
SendKeys "{NUMLOCK}"
time = time + 1
Loop
time = 0
End If
End Sub
The idea is that when I press left, right, up or down on the airmouse app, it's press for some more time on the computer
So I can turn and walk in a game
I would like to run a script like this one:
Private Sub txtContract_Labor_KeyPress(KeyAscii)
Dim time
time = 0
If KeyAscii = "{LEFT}" Then
Do While time < 2
sleep 1000
KeyAscii = 0
SendKeys "a"
SendKeys "{NUMLOCK}"
time = time + 1
Loop
time = 0
End If
End Sub
The idea is that when I press left, right, up or down on the airmouse app, it's press for some more time on the computer
So I can turn and walk in a game