taojy123 / KeymouseGo

类似按键精灵的鼠标键盘录制和自动化操作 模拟点击和键入 | automate mouse clicks and keyboard input
http://taojy123.github.io/KeymouseGo
GNU General Public License v2.0
6.9k stars 1.01k forks source link

fix: Extension will function correctly when run as a python script #248

Closed tadshi closed 1 year ago

tadshi commented 1 year ago

Hello! I find this useful project recently and it really helps me a lot. So I'm trying to develop an extension for KeymouseGo to meet my special need, but the project doesn't run smoothly while running as a python script. I reckon there are some tiny mistakes and try to fix them in this pr:

I see there is a powerful brand-new extension system in development but I just cannot wait to write an extension and make use of it :) Also, I guess I should merge into master instead of dev as these bugs are for the 'legacy' extension system. Thanks for your patience!