home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
277.lha
/
mb.doc
< prev
next >
Wrap
Text File
|
1989-08-07
|
3KB
|
63 lines
MicroBrowser 1.1
The latest in
great hacks with bad documentation
Written By:
Eric J. Schwertfeger
Released into Public Domain
August 1, 1989
MicroBrowser is a very simple utility intended for those times
that you just want a quick look at what files are where. All it does
is open a file requester from the arp.library, bringing the WorkBench
to the front, and optionally submit the selected file to a CLI program.
Please note that you must have arp.library version 34 or later in order
to run MicroBrowser.
To run MicroBrowser, type mb at the cli prompt. If you want to
keep MicroBrowser around, then you will want to run, ARun, or RunBack
it. If you provide a hotkey for it (using the KEY XX option, where XX
is the hexadecimal value of the RAWKEY), then MicroBrowser will not
open the initial file requester, but go straight to waiting for the
hot key.
Using MicroBrowser is fairly straight forward. Once a File
Requester is open, you operate it like any normal requester. When
you are done, clicking on the close box or on the "Cancel" gadget
causes MicroBrowser to exit completely, if not running in HotKey mode.
Clicking on the "OK" gadget, however, causes the requester to go away
and for the selected file to be inserted into the command string and
then run.
The basic format of the command follows this. After MicroBrowser can
come up to three options, in any order. First is the command. This
is the command string you want the file name inserted into. If there are
any spaces in the command, you must surround the command with quotes.
If the filename can be added to the end of the command, this is all
you need to do. If the filename must come in the middle of the command
string, on the other hand (ie, "Copy FILENAME to prt:") then you need
to insert a "%" character in its place (in the last example, this
would be "Copy % to prt:").
The next option is a title for the requester. This is used by
the keyword TITLE followed by a single word, or a string in quotes.
This will set the window title of the Arp file Requester to whatever
string is given (ie. 'TITLE "File to Read"').
The final option is hotkey mode, where the user supplies the rawkey
code of a key, and MicroBrowser opens its requester every time this
key is hit in combination with the left-amiga key. This option is
set up by the keyword KEY, followed by the decimal representation of
the rawkey code. The rawkey codes for the function keys are 79 + the
number of the function (ie. F1 is 80, and F10 is 89)
Getting a File Requester is very simple. Either run MicroBrowser
without giving it a hot-key, or press the Left-Amiga key along with
the hot-key (F10 by default).
The Author can be contacted on RC BBS, at (702) 364-8721, or on
Compuserve at [72657,1166]. Please send any bug reports to either
of these places.