hi,
.ahk is plain text.
and i know anti virus search by pattern.
but if a plain text .ahk contains action of delete C:/
i am screwed, is it?
thank you.
ps i ask because i wanna run some 3rd party .ahk.
will a plain txt .ahk that perform delete C:/ but warned by anti virus?
Re: will a plain txt .ahk that perform delete C:/ but warned by anti virus?
Hello,
To learn whether your script works, run your script! You can buy a new computer afterwards.
To learn whether your script works, run your script! You can buy a new computer afterwards.
Re: will a plain txt .ahk that perform delete C:/ but warned by anti virus?
Sounds more like an anti-virus question. Ahk doesn't handle this
v1: biga.ahk | array.ahk | string-similarity | graphicsearch.ahk | midday.ahk | expect.ahk
Re: will a plain txt .ahk that perform delete C:/ but warned by anti virus?
Hallo,
try:
Start this script and refuse to give the admin rights.
1:: try to play a system sound file
2:: try to create a copy of it
3:: try to play this copy (should not work)
4:: restart the script, give the admin rights and try the same as above (this time everything should work)
What do you anti virus think about this?
try:
Code: Select all
#SingleInstance, Force
If !A_IsAdmin
Try Run *RunAs "%A_ScriptFullPath%"
File = %A_WinDir%\Media\Alarm01.wav
Copy = %A_WinDir%\Media\Copy.wav
1::Run, "%File%"
2::FileCopy, %File%, %Copy%
3::Run, "%Copy%"
4::Reload
1:: try to play a system sound file
2:: try to create a copy of it
3:: try to play this copy (should not work)
4:: restart the script, give the admin rights and try the same as above (this time everything should work)
What do you anti virus think about this?