哥们儿、我已经下了最新的按键精灵、想请问下怎么操作,以及给个脚本吧。谢了哈。
发布网友
发布时间:2022-04-28 16:58
我来回答
共2个回答
热心网友
时间:2023-10-04 20:16
按键精灵可以录制你的按键操作(鼠标和键盘的),也可以自己写代码,不过这个要有一定的编码能力和对按键精灵的编码方式有一定的基础才可以自己编码,也可以根据你自己录制的操作,慢慢的去熟悉它的源码,渐渐的就可以做出你想要的软件
下面是我写的一个飞车的 自动接力代码:很简单,高级的我没有学,毕竟没有时间去深入了解:
//Move To 就是鼠标移动的坐标,以屏幕左上角为0,0坐标
Delay 是 延迟 后面跟的是毫秒,1s=1000ms
LeftClick 是点击左键
就是几个简单的英文单词
'==========以下是按键精灵制作飞车自动接力的简单代码内容==========
MoveTo 227, 0
Delay 200
LeftClick 1
Delay 210
KeyDown "W", 1
Delay 200
KeyDown "Space", 1
Delay 10
KeyDown "E", 1
Delay 170
KeyUp "Space", 1
Delay 50
KeyUp "E", 1
Delay 200
KeyDown "E", 1
KeyDown "Space", 1
Delay 160
KeyUp "Space", 1
Delay 30
KeyUp "E", 1
Delay 180
KeyDown "E", 1
Delay 10
KeyDown "Space", 1
Delay 10
KeyDown "E", 1
Delay 170
KeyUp "Space", 1
Delay 50
KeyUp "E", 1
Delay 200
KeyDown "E", 1
KeyDown "Space", 1
Delay 160
KeyUp "Space", 1
Delay 30
KeyUp "E", 1
Delay 180
KeyDown "E", 1
Delay 10
KeyDown "Space", 1
Delay 10
KeyDown "E", 1
Delay 170
KeyUp "Space", 1
Delay 50
KeyUp "E", 1
Delay 200
KeyDown "E", 1
KeyDown "Space", 1
Delay 160
KeyUp "Space", 1
Delay 30
KeyUp "E", 1
Delay 180
KeyDown "E", 1
Delay 10
KeyDown "Space", 1
Delay 10
KeyDown "E", 1
Delay 170
KeyUp "Space", 1
Delay 50
KeyUp "E", 1
Delay 200
KeyDown "E", 1
KeyDown "Space", 1
Delay 160
KeyUp "Space", 1
Delay 30
KeyUp "E", 1
Delay 180
KeyDown "E", 1
Delay 10
KeyDown "Space", 1
Delay 160
KeyUp "Space", 1
Delay 30
KeyUp "E", 1
Delay 190
KeyDown "Space", 1
Delay 20
KeyDown "E", 1
Delay 140
KeyUp "Space", 1
Delay 30
KeyUp "E", 1
Delay 210
KeyDown "E", 1
Delay 10
KeyDown "Space", 1
Delay 150
KeyUp "Space", 1
KeyUp "E", 1
Delay 190
KeyDown "E", 1
Delay 10
KeyDown "Space", 1
Delay 160
KeyUp "Space", 1
Delay 40
KeyUp "E", 1
Delay 180
KeyDown "Space", 1
Delay 10
KeyDown "E", 1
Delay 170
KeyUp "Space", 1
Delay 20
KeyUp "E", 1
Delay 150
KeyDown "Space", 1
Delay 10
KeyDown "E", 1
Delay 190
KeyUp "E", 1
Delay 10
KeyUp "Space", 1
Delay 210
KeyUp "W", 1
Delay 210
KeyDown "R", 1
Delay 210
KeyUp "R", 1
Delay 200
LeftClick 1
Delay 210
KeyDown "W", 1
MoveTo 234, 7
Delay 500
KeyDown "Space", 1
Delay 10
KeyDown "E", 1
Delay 170
KeyUp "Space", 1
Delay 50
KeyUp "E", 1
Delay 200
KeyDown "E", 1
KeyDown "Space", 1
Delay 160
KeyUp "Space", 1
Delay 30
KeyUp "E", 1
Delay 180
KeyDown "E", 1
Delay 10
KeyDown "Space", 1
Delay 160
KeyUp "Space", 1
Delay 30
KeyUp "E", 1
Delay 190
KeyDown "Space", 1
Delay 20
KeyDown "E", 1
Delay 140
KeyUp "Space", 1
Delay 30
KeyUp "E", 1
Delay 210
KeyDown "E", 1
Delay 10
KeyDown "Space", 1
Delay 150
KeyUp "Space", 1
KeyUp "E", 1
Delay 190
KeyDown "E", 1
Delay 10
KeyDown "Space", 1
Delay 160
KeyUp "Space", 1
Delay 40
KeyUp "E", 1
Delay 180
KeyDown "Space", 1
Delay 10
KeyDown "E", 1
Delay 170
KeyUp "Space", 1
Delay 20
KeyUp "E", 1
Delay 150
KeyDown "Space", 1
Delay 10
KeyDown "Space", 1
Delay 10
KeyDown "E", 1
Delay 170
KeyUp "Space", 1
Delay 50
KeyUp "E", 1
Delay 200
KeyDown "E", 1
KeyDown "Space", 1
Delay 160
KeyUp "Space", 1
Delay 30
KeyUp "E", 1
Delay 180
KeyDown "E", 1
Delay 10
KeyDown "Space", 1
Delay 10
KeyDown "E", 1
Delay 170
KeyUp "Space", 1
Delay 50
KeyUp "E", 1
Delay 200
KeyDown "E", 1
KeyDown "Space", 1
Delay 160
KeyUp "Space", 1
Delay 30
KeyUp "E", 1
Delay 180
KeyDown "E", 1
Delay 10
KeyDown "Space", 1
Delay 10
KeyDown "E", 1
Delay 170
KeyUp "Space", 1
Delay 50
KeyUp "E", 1
Delay 200
KeyDown "E", 1
KeyDown "Space", 1
Delay 160
KeyUp "Space", 1
Delay 30
KeyUp "E", 1
Delay 180
KeyDown "E", 1
Delay 10
KeyDown "E", 1
Delay 190
KeyUp "E", 1
Delay 10
KeyUp "Space", 1
Delay 210
KeyUp "W", 1
Delay 210
KeyDown "R", 1
Delay 210
KeyUp "R", 1
MoveTo 937, 0
Delay 100
LeftClick 1
Delay 270
KeyDown "W", 1
Delay 30
KeyUp "W", 1
'==========以上是按键精灵制作飞车自动接力的简单代码内容==========
下面是飞车中自动喊话的代码:
意思就是按一下↑,延迟1.5秒,按一次回车键,在 延迟0.5秒,写自动喊话的代码很简单,方式多种,我写的这个好看点而已,在飞车中也不会出现提示发言过快,写好这个代码后,就可以自己设置这个代码循环的次数(我在运行的时候,一般都是设置的无限循环,直到按停止)
'==========以下是自动喊话代码==========
KeyPress "Up", 1
Delay 1500
KeyPress "Enter", 1
Delay 500
'==========以上是自动喊话代码==========
写好代码后,可以制作成一个小精灵,这个小精灵就是一个简单的软件,就可以执行这个代码,启动小精灵时,也可以不用打开按键精灵了
QQ飞车丶专攻√ 团队诚心为你解答,望采纳追问我还是不懂额、你可不可以远程协助下呢。
追答你自己录制几个脚本,查看源代码就可以看懂了
来自:求助得到的回答
热心网友
时间:2023-10-04 20:17
去这儿看吧,你要的都有
http://www.vrbrothers.com/cn/qmacro/