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

运行 RunZ.ahk 出错,RunZ.exe 正常 #21

Closed
LakeishaKowalczyk opened this issue Mar 14, 2018 · 2 comments
Closed

运行 RunZ.ahk 出错,RunZ.exe 正常 #21

LakeishaKowalczyk opened this issue Mar 14, 2018 · 2 comments

Comments

@LakeishaKowalczyk
Copy link

请教
default

@goreliu
Copy link
Owner

goreliu commented Mar 14, 2018

用的自带配置文件,还是自己之前的?

自带配置应该不会出错,如果是自己之前的,看下里边有没有和 RunZ 有关的配置,删掉再试试。

@LakeishaKowalczyk
Copy link
Author

LakeishaKowalczyk commented Mar 15, 2018

谢谢,不是配置文件的问题,我发觉问题比较复杂

当以 vimd.ahk 运行,而非 vimd.exe 时, <w-h>=run|..\RunZ\RunZ.ahk 的行为会很奇怪.
它不是简单地到 vimd.ahk 的上一级路径中查找 RunZ\RunZ.ahk,而是到「正在运行的所有进程的路径」中找查找RunZ\RunZ.ahk
最后执行的结果,可能会毫无反应,可能会去执行 D:\autohotkey\RunZ.ahk 之类的然后报错找不到文件,也可能会执行正确的结果

vimd.exe 没有问题
现在把配置改成了 <w-h>=run|%A_ScriptDir%\..\RunZ\RunZ.ahk,可以正确运行

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