Re: NAV scripting
Re: NAV scripting
- Subject: Re: NAV scripting
- From: Nigel Garvey <email@hidden>
- Date: Wed, 26 Sep 2001 01:19:08 +0100
Rich Baker wrote on 25 Sep 2001 10:48:46 -0400:
>
All,
>
>
I was wondering if any of you could shed some light on the scripting
>
features of Norton AntiVirus. I'm trying to script NAV to scan files.
>
But, the result returned from a NAV scan is listed as simply "small
>
integer". In testing, this has produced only return value of 0, since I
>
don't have any virus-infected files handy. After contacting Symantec, they
>
replied that they "think" that finding a virus would return 1, but say that
>
AppleScript is unsupported in NAV and was only included for testing
>
purposes. Even if I assume that the result might be 1, this still begs the
>
question of what the result might be if a virus is found but cannot be
>
repaired? Anybody have any experience with this?
NAV 7.0 also installs an OSAX in the Scripting Additions folder which
performs scans without having to launch the application. However, it
seems a bit flaky. It's reporting ten infected files on my hard disk but
returns empty lists when asked what the viruses are. A scan with the
application itself reports a clean disk.
Ah! Now it's down to two infected files - Script Editor (which has been
running the test script) and Emailer (with which I'm writing this). The
OSAX seems to equate recent usage with infection. Pretty useless.
NG