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

在capslock启动的同时如何加载既往ahk脚本 #123

Open
songtengfei95 opened this issue Oct 19, 2022 · 1 comment
Open

在capslock启动的同时如何加载既往ahk脚本 #123

songtengfei95 opened this issue Oct 19, 2022 · 1 comment

Comments

@songtengfei95
Copy link

我有些功能不知道怎么使用capslock进行更改,就重新写了一个ahk脚本,但我想在启动capslock的同时自动加载自己编写的ahk脚本,这个应该怎么实现?是把我的脚本文件放在useAHK文件夹下还是应该把我的脚本内容复制到capslock里已经存在的ahk文件里?

另外,我想在capslock里实现的功能是:使用caps+v在pycharm里实现shif+F10的功能
进行了如下修改:
1.在CapsLock+settings.ini 文件里[Key] 字段下添加了caps_v=keyFunc_start
2.在lib_keysFunction.ahk文件中添加了
#If WinActive("ahk_exe pycharm64.exe") keyFunc_start(){ SendInput, +{F10} ; Return }

但这样做没有反应,所有只能自己重新写个脚本了

还望大佬可以指点一下

@wo52616111
Copy link
Owner

试试把 #If WinActive("ahk_exe pycharm64.exe") 去掉?

或者参考这里:#94

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