运行 来自 excel 的 AHK 脚本成功

Run AHK script from excel successfully

当尝试使用 shell

从 excel 第一种方式 运行 AHK 脚本时
Sub FrmShell()
Shell ("C:\Program Files\AutoHotkey\AutoHotkey.exe  \REG-MITEK\Mitek\Mitek\documentation\RequestForQuote\old-RFP\RFP.exe")
End Sub

我收到这个错误

当我 运行 使用 FollowHyperlink 时, 它有效,但无法摆脱可怕的超链接警告。

Sub FromHyperLink()
Dim s As String    
s = "\REG-MITEK\Mitek\Mitek\documentation\RequestForQuote\old-RFP\RFP.exe"    
ThisWorkbook.FollowHyperlink (s)
End Sub

根据评论,发布答案:

Check that statement - you're trying to open one application with another, as far as I know - the syntax should be "Application_path fileToOpen_path".

#3 的可能决策(需要注册表访问权限):

Circumvent Hyperlink Security Warning

here

但我都没有尝试。