AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Norton Antivirus autoprotection on/off

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
valenock



Joined: 14 Sep 2004
Posts: 16

PostPosted: Thu Dec 16, 2004 12:26 am    Post subject: Norton Antivirus autoprotection on/off Reply with quote

Norton Antivirus Autoprotection likes to hang somewhere in your tray eating those CPU cycles and wasting your memory.

Meanwhile, there's no need to keep it up and running the whole day - it would be nice just to start it whenever it is needed - right when you have downloaded that_nice_program_from_the_internet_everyone_is_raving_about and want to check it out.

Here's my little script to turn norton autoprotect on/off.
Just copypaste it to your autohotkey.ini


Code:

; Norton Antivirus ========================================================================================


#n::
   RunWait, %comspec% /c net stop navapsvc, , Hide
   if ErrorLevel = 0
      MsgBox,,Norton AntiVirus, Autoprotection successfully STOPPED !,10
   else
   {
      RunWait, %comspec% /c net start navapsvc, , Hide
      if ErrorLevel <> 0
      {
         MsgBox, Failed either start or stop Norton AntiVirus autoprotect`nIs service installed ?`nEror:%ErrorLevel%
         return
      }
      MsgBox,,Norton AntiVirus, Autoprotection successfully STARTED !,10
   }   

return
Back to top
View user's profile Send private message
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Thu Dec 16, 2004 12:36 am    Post subject: Reply with quote

Meh. I never really noticed it wasting any cycles, and I've got 512mb of RAM, so I'll pass. Cool script though, I'm sure some will find it useful.
Back to top
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1717

PostPosted: Thu Dec 16, 2004 4:00 am    Post subject: Reply with quote

there must b some sendmsg code too.
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group