我尝试从 ahk 项目文件生成 exe 文件。我用Ahk2Exe v1.1.30.03_Beta_9
.
Ahk 文件,它应该将文件路径粘贴到浏览器的文件选择器对话框窗口:
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#Persistent
SetTimer, test, 500
return
test:
IfWinExist, Open
{
WinActivate ; Automatically uses the window found above.
WinMaximize ; same
Send, ^v .{Enter}
return
}
Symantec Endpoint Protection 阻止对其进行访问,原因如下:
扫描类型:自动防护扫描事件:发现安全风险!检测到安全风险:Heur.AdvML.B