Ahk文件生成.exe时出现Heur.AdvML.B
Heur.AdvML.B appears when .exe is generated from Ahk file
我尝试从 ahk 项目文件生成 exe 文件。我用 Ahk2Exe v1.1.30.03_Beta_9
.
Ahk 文件,应该将文件路径粘贴到浏览器的文件选择器对话框中 window:
#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 正在阻止对其的访问,原因如下:
Scan type: Auto-Protect Scan Event: Security Risk Found! Security risk
detected: Heur.AdvML.B
我看到您正在使用 ahk2exe 预发布版 ;)
除非您的系统遭到破坏,否则这很可能是误报。
您可以尝试重新下载,然后重新编译:
也就是说,您可以参考以下关于 AutoHotkey 误报的文档:
我尝试从 ahk 项目文件生成 exe 文件。我用 Ahk2Exe v1.1.30.03_Beta_9
.
Ahk 文件,应该将文件路径粘贴到浏览器的文件选择器对话框中 window:
#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 正在阻止对其的访问,原因如下:
Scan type: Auto-Protect Scan Event: Security Risk Found! Security risk detected: Heur.AdvML.B
我看到您正在使用 ahk2exe 预发布版 ;)
除非您的系统遭到破坏,否则这很可能是误报。 您可以尝试重新下载,然后重新编译:
也就是说,您可以参考以下关于 AutoHotkey 误报的文档: