SELECTOR.PRG
by Martyn Dryden
for The South West Software Library
Public Domain (Share and Enjoy)

This program (intended to live in the AUTO folder of
your boot disk) allows you to select up to six active
desk accesories, from up to 48 accessory files on your
boot disk.

It was published in the March 1988 issue of Atari ST
User from Database Publications.

If there are any .ACC or .ACX files on the disk, then
their filenames are displayed on a menu of sorts, along
with the note ON or OFF.

ON means that the accessory file is suffixed .ACC and
will therefore be loaded by GEM and become available to
you when the Desktop appears.  OFF means that it is
suffixed .ACX, and will be ignored by the system, making
that accessory unavailable during your session with the
ST.

One of the filenames will be reverse-video'd.  Its
status (ON or OFF) can be changed by pressing the Return
or Enter key.

The reverse video cursor can be moved using the arrow
keys to select the different files.  Please enjoy the
friendly wrap-around cursor action, it took me hours to
get that to work.

When you have chosen the accessories that you wish to
use, press Escape or the Space bar.  The program will
now rename your accessory files as per your requested
status.

If you have chosen more than six accessories ON, then
the program will complain and you will not be allowed to
leave the menu screen until you have six or fewer.  This
feature doesn't know about those accessories that use
more than one 'slot', of course.

Problems?

SELECTOR will report 'Failed' if it is not able to
rename the accessory files.  The most common cause of
this is that the boot disk is write protected.

The second most common cause is that you already have a
file with the name required.  In other words you have
two copies of the accessory on your disk, one suffixed
.ACC and one suffixed .ACX.  

More obscure causes are related to the technicalities of
'boot device' and 'current path'.  Basically, SELECTOR
expects to be run from an AUTO folder on the boot
device.  Under normal circumstances the current path is
then the root.  If your boot device is other than the
one with your ACCs and AUTOs, then SELECTOR may not
work.  For the same reason, it won't work if you run it
from the Desktop by opening up the AUTO folder (because
the path is then \AUTO) but it will if you copy it to
the root directory.

If you do run it from the Desktop, and move the mouse,
then it tears a hole in the screen.  I was too lazy to
fix this because normally we don't run from the Desktop.

And of course, another hazard of running SELECTOR from
the Desktop is that it will have no effect on the
accessories available to you, until you re-boot.

Finally, this program was intended to let you select
your accessories flexibly.  It cannot enable you to have
more than six accessories available at once.  For this
extremely clever facility (not too useful to those
equipped with 'only' a megabyte) you require the
DCSTUFFER from Double Click Software, available from all
Public Domain Software vendors.

