按键精灵改键,怎么实现在一个脚本中我按q键会出现t,按a会出现f,能一直实现?

原问题:按键精灵改键,怎么实现在一个脚本中我按q键会出现t,按a会出现f,能一直实现?
分类:编程开发 > 最后更新时间:【2016-12-15 19:19:39】
问题补充:

Rem s

key1=WaitKey()

If key1=81 Then

KeyPress "BackSpace", 1

KeyPress "t", 1

End If

Goto s

Rem w

key1=WaitKey()

If key1=65 Then

KeyPress "BackSpace", 1

KeyPress "F", 1

End If

Goto w

这个脚本只能实现q出现t,按a无效,怎么改

最佳答案

Rem s
key1=WaitKey()
If key1=81 Then
KeyPress "BackSpace", 1
KeyPress "t", 1
else
If key1=65 Then
KeyPress "BackSpace", 1
KeyPress "F", 1
End If
End if
Goto s

最佳答案由网友  whoami1978  提供
公告: 为响应国家净网行动,部分内容已经删除,感谢网友理解。
14

分享到:

其他回答

暂无其它回答!

    推荐