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
Pop-ups
Moderators: JRL, Dorian (MJT support)
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).
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).
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]
[email protected]
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
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"
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!
Bob
A humble man and PROUD of it!