按键精灵怎么设置如果按键1弹起则按5,6,7,8,9,0一次 跪求高手解答
展开全部
是不是按一下1.让电脑自动按5、6、7、8、9、0、对吧?
如果是这样:我用的是字母键上方的数字键。
Rem a
aaa = WaitKey()
If aaa = "49" Then
KeyPress "5", 1
Delay 200
KeyPress "6", 1
Delay 200
KeyPress "7", 1
Delay 200
KeyPress "8", 1
Delay 200
KeyPress "9", 1
Delay 200
KeyPress "0", 1
End If
Goto a
如果是这样:我用的是字母键上方的数字键。
Rem a
aaa = WaitKey()
If aaa = "49" Then
KeyPress "5", 1
Delay 200
KeyPress "6", 1
Delay 200
KeyPress "7", 1
Delay 200
KeyPress "8", 1
Delay 200
KeyPress "9", 1
Delay 200
KeyPress "0", 1
End If
Goto a
展开全部
Do
上次按键 = GetLastKey()
If 上次按键 = 97 or 上次按键 = 49 Then
Delay 50
KeyPress "2", 1
Delay 50
KeyPress "3", 1
Delay 50
KeyPress "4", 1
Delay 50
KeyPress "5", 1
Delay 50
KeyPress "6", 1
Delay 50
KeyPress "7", 1
Delay 50
KeyPress "8", 1
Delay 50
KeyPress "9", 1
Delay 50
KeyPress "0", 1
End If
Loop
上次按键 = GetLastKey()
If 上次按键 = 97 or 上次按键 = 49 Then
Delay 50
KeyPress "2", 1
Delay 50
KeyPress "3", 1
Delay 50
KeyPress "4", 1
Delay 50
KeyPress "5", 1
Delay 50
KeyPress "6", 1
Delay 50
KeyPress "7", 1
Delay 50
KeyPress "8", 1
Delay 50
KeyPress "9", 1
Delay 50
KeyPress "0", 1
End If
Loop
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询