求一个按键精灵脚本当按下E的时候6789都有效。Q=小键盘1234鼠标上滚=4567鼠标下滚=789
展开全部
BeginThread key1
BeginThread key2
BeginThread key3
BeginThread key4
Function key1
While 1
a = WaitKey()
If a = 69 Then
KeyPress "6", 1
KeyPress "7", 1
KeyPress "8", 1
KeyPress "9", 1
End If
Wend
End Function
Function key2
While 2
b = WaitKey()
If b = 81 Then
KeyPress "Num 1", 1
KeyPress "Num 2", 1
KeyPress "Num 3", 1
KeyPress "Num 4", 1
End If
Wend
End Function
Function key3
While 3
c = WaitClick()
If c = 32782 Then
KeyPress "Num 4", 1
KeyPress "Num 5", 1
KeyPress "Num 6", 1
KeyPress "Num 7", 1
End If
Wend
End Function
Function key4
While 4
d = WaitClick()
If d = 32781 Then
KeyPress "Num 7", 1
KeyPress "Num 8", 1
KeyPress "Num 9", 1
End If
Wend
End Function
BeginThread key2
BeginThread key3
BeginThread key4
Function key1
While 1
a = WaitKey()
If a = 69 Then
KeyPress "6", 1
KeyPress "7", 1
KeyPress "8", 1
KeyPress "9", 1
End If
Wend
End Function
Function key2
While 2
b = WaitKey()
If b = 81 Then
KeyPress "Num 1", 1
KeyPress "Num 2", 1
KeyPress "Num 3", 1
KeyPress "Num 4", 1
End If
Wend
End Function
Function key3
While 3
c = WaitClick()
If c = 32782 Then
KeyPress "Num 4", 1
KeyPress "Num 5", 1
KeyPress "Num 6", 1
KeyPress "Num 7", 1
End If
Wend
End Function
Function key4
While 4
d = WaitClick()
If d = 32781 Then
KeyPress "Num 7", 1
KeyPress "Num 8", 1
KeyPress "Num 9", 1
End If
Wend
End Function
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询