This is my script as below.
I used the VirusTotal website to test Moving.ahk, and it is passed, but I use Ahk2Exe to generate .exe and then test it, it is failed.
I have many scripts that cannot pass Symantec in the win10 64bit system, but no warning signs were found in 32bit.
There are other ways to generate the .exe? How can I solve this problem?
If you are willing to help me test, I would be very grateful.
Code: Select all
Gui +AlwaysOnTop
Gui, Font, S10 C000000 , Tahoma
Gui, Show, x131 y91 h40 w250,Moving
Gui, Add, Button, x10 Y5 H30 W60, Start
Gui, Add, Button, x80 Y5 H30 W60, Stop
Gui, Font, S10 cGreen
Gui, Add, Text, x150 Y12 vRunning, Status: Running
Gui, Font, S10 cRed
Gui, Add, Text, x150 Y12 vStop, Status: Stop
GuiControl, Hide, Running
#Persistent
WinGet, a_ID, ID, A
SetTimer, aa, 500
return
aa:
WinGet, a1_ID, ID, A
If ( a_ID != a1_ID )
k_ID = %a1_ID%
Return
ButtonStop:
sleep 300
Reload
return
ButtonStart:
GuiControl, Hide, STOP
GuiControl, Show, Running
Loop,
{
WinActivate, ahk_id %k_ID%
sleep 570000
MouseMove, 500, 500
sleep 500
MouseMove, 498, 498
}
Return
GuiClose:
ExitApp
Autohotkey rev. : AutoHotkey_1.1.33.06
Installed the AutoHotkey_1.1.33.06 32bit
Win OS: Win10 64bit
Compress exe with MPRESS or USP: NO