Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议设置是否录制鼠标轨迹开关。 #48

Closed
ghost opened this issue Jan 2, 2021 · 12 comments
Closed

建议设置是否录制鼠标轨迹开关。 #48

ghost opened this issue Jan 2, 2021 · 12 comments

Comments

@ghost
Copy link

ghost commented Jan 2, 2021

能否设置录制鼠标轨迹开关,感觉大多数鼠标轨迹都是可有可无的垃圾数据,且影响了录制文件的可读性。另外用//设置注释,从来没有成功过,只要加上//就运行失败,能否给点提示呢。

@taojy123
Copy link
Owner

taojy123 commented Jan 4, 2021

不好意思,// 注释的功能虽然代码上已经实现了,但是没有打新的 release 包,所有当前下载的 3.1 版本是没有这个特性的。
我将你提到的 “鼠标轨迹开关” 功能加上,然后再发布一个 3.2 版本。

@taojy123
Copy link
Owner

鼠标轨迹开关和注释功能已在最新版本中调整好
https://github.com/taojy123/KeymouseGo/releases/tag/v3.2

@ygfly
Copy link

ygfly commented Jan 15, 2021

注释功能实现太难了,注释一条就要调试一条,几乎是无法完成的任务。难道是对输入法、编辑器有什么特殊要求吗?

@taojy123
Copy link
Owner

注释一条就要调试一条 是什么意思,麻烦详细说下遇到的问题吗?

@ygfly
Copy link

ygfly commented Jan 15, 2021

意思是添加一条注释就要运行一下,看看能否通过。本来我一次性注释完了,但根本无法运行通过,于是又从没有注释的能正常运行的文本,重新一条一条的添加注释,每添加一条,就运行测试一下。但我只试着把前3条测试通过就放弃了,太难了,只要添加注释就可能运行失败。用的是搜狗拼音和记事本编辑的。用其他编辑器查看编辑后的文档,没有发现非法字符啊,晕晕。

@taojy123
Copy link
Owner

你可以发一下你注释后无法运行的脚本,我查一下是什么问题导致的,然后可以优化一下代码的健壮性

@ghost
Copy link
Author

ghost commented Jan 15, 2021

[
[192,"EM","mouse left down",[396,654]], // 1-2点击任务栏图标启动b3
[136,"EM","mouse left up",[396,654]],
[4436,"EM","mouse left down",[657,77]], // 3-4启动多开管理器
[202,"EM","mouse left up",[657,77]],
[4382,"EM","mouse left down",[662,117]], // 5-10启动b b1 b2
[282,"EM","mouse left up",[662,117]],
[1200,"EM","mouse left down",[383,81]],
[137,"EM","mouse left up",[383,81]],
[4158,"EM","mouse left down",[407,18]],
[200,"EM","mouse left up",[407,18]],
[1302,"EM","mouse left down",[474,89]],
[89,"EM","mouse left up",[474,89]],
[4495,"EM","mouse left down",[557,349]],
[178,"EM","mouse left up",[557,349]],
[10041,"EM","mouse left down",[697,78]],
[167,"EM","mouse left up",[697,78]],
[2498,"EM","mouse left down",[520,126]],
[148,"EM","mouse left up",[520,126]],
[5300,"EM","mouse left down",[415,116]],
[282,"EM","mouse left up",[415,116]],
[24415,"EM","mouse left down",[536,402]],
[1482,"EM","mouse left up",[536,402]],
[3098,"EM","mouse left down",[556,244]],
[153,"EM","mouse left up",[556,244]],
[5531,"EM","mouse left down",[683,650]],
[153,"EM","mouse left up",[683,650]],
[3304,"EM","mouse left down",[407,19]],
[240,"EM","mouse left up",[407,19]],
[2045,"EM","mouse left down",[476,54]],
[94,"EM","mouse left up",[476,54]],
[6192,"EM","mouse left down",[396,654]],
[136,"EM","mouse left up",[396,654]],
[9000,"EM","mouse left down",[655,76]],
[178,"EM","mouse left up",[655,76]],
[13452,"EM","mouse left down",[661,117]],
[128,"EM","mouse left up",[661,117]],
[2088,"EM","mouse left down",[696,81]],
[152,"EM","mouse left up",[696,81]],
[2816,"EM","mouse left down",[536,202]],
[114,"EM","mouse left up",[536,202]],
[2578,"EM","mouse left down",[396,302]],
[112,"EM","mouse left up",[396,302]],
[551,"EM","mouse left down",[396,302]],
[131,"EM","mouse left up",[396,302]],
[8653,"EM","mouse left down",[542,363]],
[87,"EM","mouse left up",[542,363]],
[286,"EM","mouse left down",[542,363]],
[77,"EM","mouse left up",[542,363]],
[8875,"EM","mouse left down",[405,21]],
[145,"EM","mouse left up",[405,21]],
[2790,"EM","mouse left down",[489,127]],
[158,"EM","mouse left up",[489,127]]
]

@ghost
Copy link
Author

ghost commented Jan 15, 2021

随便填了3条注释,就无法运行了。

@taojy123
Copy link
Owner

是因为中文导致的,最新版已做好注释中文的兼容。
https://github.com/taojy123/KeymouseGo/releases/tag/v3.2.1

@ygfly
Copy link

ygfly commented Jan 20, 2021

注释ok!自动弹出日志窗口是有意为之吗。

@taojy123
Copy link
Owner

打包时忘记去掉命令行窗口了 😂 我回头重新打一个包

@taojy123
Copy link
Owner

已更新,现在下载最新版本的,不会有命令行窗口。

@taojy123 taojy123 closed this as completed Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants