home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
commod
/
appmenu1.lha
/
AppMenu
/
AppMenu.doc
< prev
next >
Wrap
Text File
|
1993-02-25
|
5KB
|
138 lines
AppMenu - Version 1.1
Copyright © 1993 by Marius Chwalczyk
AppMenu is FREEWARE but copyrighted © 1993 by Marius Chwalczyk. It's freely
distributable as long as all of its files are included in their original form
without modifications of any kind. Only a moderate copying charge is allowed
for its distribution. This program is "as-is", all use is at your own risk.
AppMenu is a utility for Workbench. It runs only under Release 2 (V37) and
later versions of the Amiga operating system. It's a commodity that adds menu
items to the Workbench Tools menu. When a menu item is activated, AppMenu
starts up a program you chosed. You can free define the items and programs to
execute. All programs are started as separate, asynchronous processes. You can
also choose arguments for these programs through icons or file requester.
Installing and running.
-----------------------
To install AppMenu simple copy it where you want it to have. You can start
it from Workbench or from Shell. Or just place it in the WBStartup drawer.
The following arguments in the line command or the tool types in the icon are
all optional.
CX_PRIORITY=n
CX_POPUP=YES|NO
CX_POPKEY=hotkey
See Workbench handbook for this commoditiy tool types. Defaults are pririty 0,
popup 'YES' and popkey 'shift f3'.
FROM=prefs
'prefs' is the preferences file (default "ENVARC:AppMenu/AppMenu.prefs"), where
AppMenu saves the items. Each item contain a menu item text, a command text and
a arguments specification.
The interface.
--------------
AppMenu's window presents a list gadget with its scroller and a string field
below, a separate string field, a cycle gadget, two buttons and a bank of four
buttons. To call the window press the hothey, activate 'AppMenu...' item in
Tools menu, run AppMenu again or use the Exchange program. Exchange can be use
for some other things too (see its docs).
The functions of the gadgets are:
Menu Items
This listview gadgets show the item list. To change a item just select it.
Now you can update the command text. Press Return or Tab key or change 'Arg'
gadget to activate the string field below the listview gadget. Here you can
modify the item text and press Return to take the item back to the list.
Command
Type the program name and its arguments you want to execute. Note that you
must specify the full path of the command when you start AppMenu from
Workbench.
Arg
Select if and from where you want arguments to a command. The possibilities
are:
Requester If you activate the item a file requester appears and you can
choose a file name as an argument to the command. You can cancel
the execution too.
Icons The names of selected icons in Workbench (if any) will be
arguments.
Icons/Req Same as above. If no icon selected as 'Requester'.
None Execute command without extra arguments.
New
Add a new item to the list. Just type a command text, choose 'Arg' and write
a menu item text. To quick add a program put its icon in the AppMenu window.
Its name will be the item text and its path with the name the command. The
number of items you can add is limited only by available memory, the system
(V37) however creates only 63 selectable menu items.
Del
To remove a item from the list select it and press the 'Del' gadget.
Save
Save the itm list to the preferences file. Further as 'Use'.
Use
Close window, use current list to create item in Tools menu and execute
commands of the chosen items.
Cancel
Undo all changes in the list since the window is open, close it and use the
old list. Note that window's Close gadget and Exchange's Hide command have
the equal function.
Quit
Quit AppMenu. Ctrl-C makes it too. If the changed items are not saved first
appears a requester.
The last four buttons have menu equivalences with short-cuts.
The Program and its Author.
---------------------------
Localization is to do in the next release.
AppMenu is written in C and compiled with SAS/C 6.2. It's tested on an
Amiga 3000 (KS 37.175, WB 37.71) with Enforcer and Mungwall.
If you have some comments, additional ideas and/or bug reports, feel free to
send e-mail a letter or to give me a call.
You can reach me via
E-mail: m_chwalc@informatik.uni-kl.de
(Note that I'm unable to send any messages since
it's at my university and not allowed. :-( )
Mail: Marius Chwalczyk
Zigelstr. 59/165
D-6750 Kaiserslautern (Germany)
Phone: (Germany)0631-10944
History.
--------
1.0 Internal release.
1.1 First public release.
The preferences are saved in separate file instead of in tool types.
Added prefs-not-saved-requester.
Added 'Icons' as arguments.
-