按键精灵一键等于多键(例如我按Q键相当于同时按了1到10键).在线等待,请帮忙.

2025-01-03 19:59:29
推荐回答(3个)
回答1:

KeyPress "1", 1
KeyPress "2", 1
KeyPress "3", 1
KeyPress "4", 1
KeyPress "5", 1
KeyPress "6", 1
KeyPress "7", 1
KeyPress "8", 1
KeyPress "9", 1
然后把启动快捷键设置成q键就行了

回答2:

把楼上的改了一下,就可以次次按F10了。启动一次即可
do
Rem 重复
K=WaitKey()
If K=81 Then//81是Q键的按键码
KeyPress "1", 1
KeyPress "2", 1
KeyPress "3", 1
KeyPress "4", 1
KeyPress "5", 1
KeyPress "6", 1
KeyPress "7", 1
KeyPress "8", 1
KeyPress "9", 1
//没有10键
Else
Goto 重复
End If
loop

回答3:

Rem 重复
K=WaitKey()
If K=81 Then//81是Q键的按键码
KeyPress "1", 1
KeyPress "2", 1
KeyPress "3", 1
KeyPress "4", 1
KeyPress "5", 1
KeyPress "6", 1
KeyPress "7", 1
KeyPress "8", 1
KeyPress "9", 1
//没有10键
Else
Goto 重复
End If