KeymouseGo v5.0
功能:记录用户的鼠标键盘操作,通过触发按钮自动执行之前记录的操作,可设定执行的次数,可以理解为
精简绿色版
的 按键精灵
。用途:在进行某些操作简单、单调重复的工作时,使用本软件就可以很省力了。自己只要做一遍,然后接下来就让电脑来做。

> KeymouseGo.exe scripts/0314_1452.txt
> KeymouseGo.exe scripts/0314_1452.txt -rt 3 > KeymouseGo.exe scripts/0314_1452.txt --runtimes 3
> KeymouseGo.exe scripts/0314_1452.txt -sp 200 > KeymouseGo.exe scripts/0314_1452.txt --speed 200
MyExtension
运行指定脚本:> KeymouseGo.exe scripts/0314_1452.txt -m MyExtension > KeymouseGo.exe scripts/0314_1452.txt --module MyExtension
0
即为无限循环。F6
,功能等同于 启动
按钮;默认终止热键为 F9
,按下后将会停止正在运行的脚本。scripts
目前下生成一个新的脚本文件。scripts
下的脚本文件内容可以修改,修改时可参考如下所述 脚本格式说明
。Middle
指代鼠标中键,XButton
指代鼠标侧键[ [3000, "EM", "mouse right down", [0.05208%, 0.1852%]], // 开始运行 `3000ms` 后,在屏幕相对坐标 `(0.05208, 0.1852)`即 `(100,200)` 处 `按下鼠标右键`; [50, "EM", "mouse right up", [0.05208%, 0.1852%]], // 等待 `50ms` 后在相同位置 `抬起鼠标右键`; [1000, "EK", "key down", (70, 'F', 0)], // 等待 `1000ms` 后 `按下f键`; [50, "EK", "key up", (70, 'F', 0)], // 等待 `50ms` 后 `抬起f键`; [100, "EM", "mouse left down", [0.2604%, 0.4630%]], // 等待 `100ms` 后,在屏幕相对坐标 `(0.2604, 0.4630)`即 `(500, 500)` 处 `按下鼠标左键`; [100, "EM", "mouse move", [0.2604%, 0.5556%]], // 等待 `100ms` 后,鼠标移动至相对坐标 `(0.2604, 0.5556)`即 `(500, 600)` 位置; [100, "EM", "mouse left up", [0.3125%, 0.5556%]], // 等待 `100ms` 后,在屏幕相对坐标 `(0.3125, 0.5556)`即 `(600, 600)` 处 `抬起鼠标左键`; [100, "EX", "input", "你好 world"], // 等待 `100ms` 后,在当前位置输入 `你好 world` 文字。 ]
json
格式,每一行代表一次动作:EM
为鼠标,EK
为键盘,EX
为其他拓展动作。mouse left down
为鼠标左键按下,mouse left up
为鼠标左键抬起,mouse right down
为鼠标右键按下,mouse right up
为鼠标右键抬起,mouse middle down
为鼠标中键按下, mouse middle up
为鼠标中键抬起,mouse wheel up
为鼠标滚轮上滑, mouse wheel down
为鼠标滚轮下滑,key down
为键盘按键按下,key up
为键盘按键抬起,mouse move
为鼠标滑过,input
输入文字。//
后的部分为注释内容。x86
版本,32 位系统的同学请自行源码编译,或 下载v1.5老版本 使用F9
热键,来终止脚本运行[-1, -1]
, 用以表示在鼠标当前位置直接点击win32api
来模拟事件,只支持 windows 系统shift
+ 上下左右
的回放问题,见 #27win32api
,不需要再手动设置屏幕缩放比例了