|
个人在使用串口助手过程中, 因设备通信传输较快(100mS), 有时为了捕捉关键数据需要用快捷键快速操作, 因此用 AHK 脚本实现了一下功能, 演示效果参考附件视频。
快捷键列表
s 保存日志并打开日志目录;
` 暂停刷新
c 清屏
- #IfWinActive, ahk_exe h7toolPC.exe
- {
- s:: ; 保存日志, 并打开日志目录
- SetControlDelay -1
- ControlClick, TButton4, ahk_exe h7toolPC.exe
- ControlClick, TButton3, ahk_exe h7toolPC.exe
- return
- `:: ; 暂停刷新
- SetControlDelay -1
- ControlClick, TCheckBox1, ahk_exe h7toolPC.exe
- return
- c:: ; 清屏
- SetControlDelay -1
- ControlClick, TButton7, ahk_exe h7toolPC.exe
- return
- }
- #IfWinActive
复制代码
|
评分
-
查看全部评分
|