Creating an Anti-Virus Toolbar Item
A toolbar anti-virus item may be created to run an anti-virus program on
the selected file, directory or drive. These items must be customized for
a specific program. The following procedure shows how to define these items
for the IBM Anti-Virus program. Some command line parameters will be different
for other programs but you should be able to configure most any program
to work.
Anti-virus
Toolbar Item
- Right click anywhere on the toolbar for popup
menu. Select 'Configure'.
- In the Configure Toolbar dialog, scroll the upper
'Built in toolbar' until you see the embossed text bitmaps. Immediately
to the left are 4 AV bitmaps, the leftmost is the IBMAV microscope. It
will say 'Push for anti-virus options' when clicked on. Drag this item
to the 'Current' toolbar immediately below and place it anywhere desired.
- While holding down the ALT key, ALT Drag the
other three items (the file, directory and drive bitmaps) and drop them
on top on the 'Microscope' in the current toolbar. Drag them in the order
they appear, or the reverse of that, since these will become the file, directory,
and drive AV check items.
- When the Current toolbar 'microscope' is clicked
on, these three items should appear as dropdown items.
- Click Ok to close the dialog which will update
the real current toolbar.
- Each dropdown item must be configured as appropriate.
Click on the 'Microscope' item to drop down the three subitems. Then right
click on each and select 'Edit Item' from the popup menu. A notebook will
appear with Action and General pages.
- a) For the 'File' bitmap, enter X:\IBMAV\IBMAVSP.EXE -LOG -SCOMP %F
in the Parameters field of the Action page and 'AV File' as the title on
the General page;
b) For the 'Directory' bitmap, enter X:\IBMAV\IBMAVSP.EXE -LOG %D and 'AV
Dir'.
c) For the 'Drive' bitmap, enter X:\IBMAV\IBMAVSP.EXE -LOG %V and 'AV Drive'.
In each example, X:\IBMAV\IBMAVSP.EXE is the full path/file name for your
AV program on your system so configure accordingly. Other command line
parameters, such as different logging options, may be used as desired.
When an AV option item is clicked on, the anti-virus program will run on
the highlighted (cursored) file, directory, or drive as selected.
Although the new toolbar will be saved on shutdown, it is recommended that
the new toolbar be saved as 'my.bar' or some such name using the toolbar
popup menu and 'Save Toolbar As...'.
[Back: Titlebar Enhancer Effects]
[Next: Adding a last window style toggle]