home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
300-399
/
ff319.lzh
/
AHDM
/
AHDM11a.DOC
< prev
next >
Wrap
Text File
|
1990-02-12
|
7KB
|
197 lines
******************************************************************************
* *
* AHDM - The Amiga Hard Disk Menu *
* *
* (C) 1990 *
* *
* by Scott Meek *
* *
******************************************************************************
Copyright Notice:
AHDM V1.0a is copyrighted. However, you are free to distribute it in an
un-modified fashion so long as this notice and all files are distributed
together, and unchanged form. This release (V1.0a) is a limited working
version of the original program. A full working version may be obtained
be sending one of the following:
1) 10$ U.S.
A Blank Disk
Self addressed stamped mailer
2) A disk with the 'C' source code for a program that you authored.
Self addressed stamped mailer
3) 4 blank Disks (I get to keep three disks)
(Great International Currency isn't it !?!?!)
Self addressed stamped mailer
TO:
AHDM
c/o Scott Meek
P.O. Box 16
Trenton, MI 48183
Disclaimer:
Due to the nature of AHDM V1.0a, I cannot, in any way be held liable for
for direct, indirect, or incidental damages resulting from from the use
or mis-use of this program. Enough said.
You will need the following files:
1) AHDM The program.
2) AHDM.TXT Used to store program data in.
3) AHDM.NDX Index into AHDM.TXT.
4) AHDM.DOC This file.
The files AHDM.TXT and AHDM.NDX should be placed into the current AmigaDOS
directory before starting AHDM.
What it does:
Placed in your startup-sequence, in place of the LOADWB command (or whatever
you use to bring up the system), it offers a ten page menu, each page having
up to ten possible actions. By double clicking on an action, that action
will execute any legal AmigaDOS command, most any program, or an AmigaDOS
script file.
When AHDM is brought up, it's window will contain a top row of 7 gadgets,
the current date and time, the title of the menu, and 2 columns of black
gadgets. The column on the right will contain the description of various
actions that can be executed. The column on the left will contain the
description of up to 10 pages. ( AHDM V1.0a is a demo. only 2 pages may be
accessed.) The current page is highlighted in white.
The Gadgets:
ADD:
Will add an action to the current page. Note that if the current page is
full, no additions will be made. When clicked, it brings up 2 string
gadgets below. Enter a brief description, in the 'New Entry:' gadget,
of what action is to take place. Then enter the command to execute
below and click 'OK'.
CHANGE:
Click on an action or page description to change, then edit the string
gadgets that appear at the bottom of the window and click 'OK'.
DELETE:
Click on an action to delete and answer the requester.
Note: Clicking on a page to delete will delete an action. I still
haven't found the bug causing this, but, I shold have it taken care of
by the next release. Until then, use the CHANGE gadget to delete a page
description.
MOVE:
Click on action to move, then click on page and action to move to.
Caution: This will delete anything that is in the position that you are
moving to. You cannot move a page description.
TITLE:
Edits the text that appears just below the date/time.
PAGE:
Adds a page description to the pages column. Note that if the pages
column is full, no addition will take place.
EXIT:
Terminates AHDM and updates the files AHDM.TXT and AHDM.NDX with any
changes made. You must exit this way to preserve any data added to
the menu.
How It Works:
I have provided 10 sample actions and their script files (if any) to
aquaint you with AHDM and it use. I suggest you look these over.
(you can see the sample actions by flipping to page 2 on the menu and
using the CHANGE gadget to see what each action contains. Click on
'OK' when finished with each selection.) For ease of recognition, I
have placed a '.bat' extension on each script file. 'TYPE' these out
to read them.
While some commands can be executed directly from AHDM, like LoadWB or
any task that does not require user intervention, others need the benefit
of an open cli window. These tasks include formatting a disk or copying
disks. Executing a format directly from AHDM will immediatly begin to
format the disk in the drive without waiting for you to change disks,
press [RETURN] or click a continue gadget. For this reason, PLEASE:
EXERCISE CAUTION WHEN ADDING A NEW FUNCTION TO THE MENU!! If in doubt
use the script file. Better safe than sorry!!!!
Example:
Here is an example that loads the workbench from the menu. It is done
first by direct command, then by script file.
******************************************************************************
Select 'ADD' and enter
New Entry: Load Amiga Workbench
Command: SYS:C/LOADWB or C:LOADWB or just LOADWB
It's as simple as that.
******************************************************************************
To format a disk from the menu, Select 'ADD' and enter
New Entry: Format Drive DF0:
Command: NewCLI FROM FormatDF0.bat
Now, create an ASCII file named FormatDF0.bat containing the following
lines.
FORMAT DRIVE DF0: NAME <name>
ENDCLI
******************************************************************************
Complete Volume/Pathnames can be used in the command field. This will
allow you to keep all of your script files in one directory.
Some programs I have started from AHDM did not function properly at
first. This was due to the fact that I launched them directly from
AHDM without going thru a script file. They were therefore run from the
incorrect directory and could not locate the files the needed to function
properly. This was remedied by using a script file to CD to the correct
directory before running them.
So far, I have not found a program that would not run from AHDM, other
than certain heavily protected games. So, if you can't run a program
from the menu, try a new approach. Experiment.
The End:
Well that is about all there is to it. Good Luck.
Scott.