“#SingleInstance force”被忽略
" #SingleInstance force " is being ignored
单实例力
应该在我告诉脚本重新加载时阻止弹出窗口...但它没有。我仍然收到脚本副本已经 运行 的警告。想法?
在没有看到您的代码的情况下,我认为有几件事可能会造成干扰。首先是可能有错别字。请验证它是否恰好是 #SingleInstance force
。另一件事可能是它没有放在脚本的开头附近;可能在 Return
之后。最后,从帮助文件,
AutoHotkey relies on the title of the script's main window to
identify other running instances of the script.
此脚本是否调用了另一个脚本或是否有任何可能影响脚本名称的内容?如果 none 这些事情有帮助,那么 post 您的代码或至少其中的一部分可能是个好主意,这样我们可以更好地了解发生了什么。
单实例力
应该在我告诉脚本重新加载时阻止弹出窗口...但它没有。我仍然收到脚本副本已经 运行 的警告。想法?
在没有看到您的代码的情况下,我认为有几件事可能会造成干扰。首先是可能有错别字。请验证它是否恰好是 #SingleInstance force
。另一件事可能是它没有放在脚本的开头附近;可能在 Return
之后。最后,从帮助文件,
AutoHotkey relies on the title of the script's main window to identify other running instances of the script.
此脚本是否调用了另一个脚本或是否有任何可能影响脚本名称的内容?如果 none 这些事情有帮助,那么 post 您的代码或至少其中的一部分可能是个好主意,这样我们可以更好地了解发生了什么。