My Task: I run a Norton AntiVirus system scan each night via a Msched program with a command line to start the program. After the scan runs it comes up with a Summary box (xxx files scanned, no viruses found, took 33 minutes, etc).
I am now trying to have another Msched script run to close this box. When I try to use a Find Windows command I come up with a Norton AntiVirus window that is connected to a different part of Norton AntiVirus (the always running Auto-Protect). This module is loaded on startup and shows up first in list of system windows. I have tried using Find Window with Text command but Msched doesn't seem to be able to find any of the text. Is there a way to tell Msched to:
Find Window called Norton AntiVirus
- now find the next instance of it and set focus?
Thanks
Dave
Finding SECOND occurance of window with Specific Name
Moderators: JRL, Dorian (MJT support)
Maybe this works:
Resize the AutoProtect Window to a specific size (if its not in the tray
). ResizeWindow>
Run the NAV scheduled task maximized. WindowAction>
Run trough all (active) windows and detect the size. GetActiveWindow>
Leave the focus at the NAV window with the non specified size/max.
Maybe GetWindowPos> soves the whole issue cause a tray icon should appear in a predefined area of the screen (the TaskBar
).
Resize the AutoProtect Window to a specific size (if its not in the tray

Run the NAV scheduled task maximized. WindowAction>
Run trough all (active) windows and detect the size. GetActiveWindow>
Leave the focus at the NAV window with the non specified size/max.
Maybe GetWindowPos> soves the whole issue cause a tray icon should appear in a predefined area of the screen (the TaskBar
