Pop-ups

General Macro Scheduler discussion

Moderators: JRL, Dorian (MJT support)

Post Reply
Bill

Pop-ups

Post by Bill » Tue Feb 01, 2005 4:43 am

How do you stop anti-virus software (Program name AVG) from popping up during a script run? It will throw the macro off and make it non-functional.

I have looked at the anti-virus program and cannot find a schedule setup. It will start running to down load updates at various times creating the problem.

Thanks for any suggestions..

Bill

User avatar
Captive
Macro Veteran
Posts: 213
Joined: Sun Oct 20, 2002 8:37 pm
Location: Colorado, USA

Post by Captive » Tue Feb 01, 2005 6:59 pm

One trick is to anticipate that a program may un-focus the window you want to be working on.

Thus any action on which it's critical that specific window to be in focus, use a SetFocus (and then perhaps a "getwindowtitle" after the action(s) to confirm that window is still in focus).

You don't have to do it on every single keypress, because if you do it before your main sequence, then check AFTER the sequence that your window is still the one in focus, you can mostly assume it's been in focus the whole time.
(The exception may be popup windows that automatically close themselves).

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Tue Feb 01, 2005 7:07 pm

Why not close the Antivirus application (close the app or stop the service or kill the process - depending on how it is running) before starting the macro and then restart it afterwards?
MJT Net Support
[email protected]

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Tue Feb 01, 2005 9:41 pm

AVG does have tools to turn off/change schedules.

Screens vary on release version and free vs. professional versions. Look through the buttom/menu bar options to locate how on your version, Look for "updates" and "scan" and "schedule"
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts