Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

(I know there are much better softwares out there for the Mac so please don't go there! The politics of this company dictate which Anti virus we have to use)

Anyway without any further wait:

Basically I am trying to automate 2 very important functions of McAfee anti-virus for Mac. First I want to automate the process of retrieving new virus definition files, and second I want to automate the process of scanning for viruses. It turns out that Using Mc'Afee Anti-Virus for the Mac are both manual functions. And they left up to the user (per user account) to perform. Depending on all of about 150 Mac users to perform these 2 tasks themselves is around 65% compliance.

My question then is: If I wanted to use the command line such as (open /Applications/McAfee\ Security.App) It will open up the Security Console. But how can I make command McAfee go out and grab the definition files and scan the computer? I have to admit I am at a crossroad and Macaltimers has set in.

share|improve this question
Computer Wizards don't grow old, they just lose their Memory – Xantec Mar 18 '11 at 15:52
what are the target computers? Are they remaining where they are (as opposed to notebooks users just take with them when they leave), and at what times does the OS run (all day? office hours?)? – Florenz Kley Mar 20 '11 at 20:24

According to the manual here:

To schedule scans, open the application in /Applications/Utilities/VirusScan Schedule

You can always try using Automator workflows to manipulate GUIs. I'd create two workflows, one to press the 'Update Now' button and a second to press the 'Scan' button.

  1. Open Automator and choose to create an application

  2. Build a workflows like this:

    1. Launch Application (McAfee Virus Scanner)
    2. Use the 'Record' button in the top-right corner or the 'Watch Me Do' action to record GUI activity
  3. After you've saved and built both applications, you can use them in shell scripts as warranted to automate the GUI.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .