home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 2
/
FFMCD02.bin
/
new
/
amigalibdisks
/
disk942
/
wbmenu
/
wbmenu.doc
< prev
next >
Wrap
Text File
|
1993-12-21
|
3KB
|
87 lines
WBMenu Documentation Version 3.4 - Thorsten Stocksmeier - 3.9.93
WBMENU IS SHAREWARE!!! THIS IS NO DEMO-VERSION! PLEASE SEND $5
OR 10.- DM CASH TO THE ADDRESS AT THE BOTTOM IF YOU WANT TO USE
WBMENU!!! THANK YOU .....
***** WBMENU JUST WORKS WITH KICKSTART VERSION 2.04 OR HIGHER !!!! *****
PLEASE ONLY USE WBMENU IF YOU REALLY KNOW WHERE IT IS WRITTEN FOR!!!
(Don't blame me if your hamster explodes in his cage while using WBMenu!!!)
WBMenu is a simple but mighty Workbench-Tools-Menu-Filler (WTMF). That
means, it fills the Tools-Menu up with your defined menu-entries. How?
WBMenu must be started from CLI. (From WB only by 'Execute Command!')
It runs in a background task. Call it with RUN >NIL: !!!!
The usage is:
EXECUTABLE,TITLE,ONCE/S,WAIT/S,NOASK/S,NOCALL/S,QUIET/S,NOVANISH/S,REDIR/K,
NOINFO/S,TEXT/K
A very long usage, but very useful! First you tell WBMenu, what file you
want to execute if the menu is clicked. (EXECUTABLE) Then you give the
menu a name. (TITLE) Now a new menu-entry appears. WBMenu is sleeping. It
gets awake if the title is clicked. The EXECUTABLE is executed. But some-
times you'll not want a program be executed two times. For all those
programs, the switch ONCE is there. The menu-title vanishes after one call.
(You'll need it e.g. if you execute a RAD-Mount-Batch!) Before that, you
are asked to press Enter. If you don't want that, there are some other
switches. WAIT says WBMenu to wait some seconds before the window will
disappear. NOASK does what it says and let's the window disappear at once.
NOCALL is there to put in remark-lines into your menu. NOCALL-entries are
just there to be watched. (REM-Lines in Basic!!!) QUIET will stop any
outputs of the executing program. NOVANISH is just useful with ONCE. It
means that you MUST call this menu to quit it. (see bottom!) The nearly
best switch is REDIR (I'm still proud of writing it!!!). After this key-
word you enter the name of a file/window (CON: etc.). Every time the menu
is clicked, into this file outputs will be written. NOINFO stops showing
an Info-Window at any click. TEXT is a keyword. The text afterwards will
be shown instead of 'Executing program ...'.
To kill an entry, just click it and thereby hold the left mousebutton.
That may not work if NOVANISH and ONCE are active! (Note: All WBMenu-Tasks
MUST be quit to close WB!)
NOTE: I know WBMenu takes lots of memory for each task. I only suggest you
to use it with more than 512K memory.
NOTE2: WBMenu can only be activated if your workbench is loaded completely.
Was that too much brain-shit? Well, now an example from my WB-Disk!
---
LOADWB >NIL: ; Load up Workbench!
WAIT 8 ; Wait until Workbench is load up completely!
; 8 may be too long or too short - Check it!
RUN >NIL: WBMenu NEWSHELL "New Shell Window" text "Opening Shell..."
RUN >NIL: WBMenu S:RadMount "Mount RAD:" text "Mounting..." once quiet noask
---
If you now look into your Workbench-Tools-Menu, there should be two new
entries. Well, Mount RAD: won't work of course!! It's just an example,
you see?!
I think that was all to be said.
Please send $5 or 10.- DM, suggestions or anything else to
THORSTEN STOCKSMEIER
LEMGOER STRAßE 19
32657 Lemgo
GERMANY
Bye!
PLEASE PAY THIS REALLY LITTLE DONATION. WITH YOUR MONEY YOU HOLD SHAREWARE
ALIVE ON AMIGA!!!