home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of A1200
/
World_Of_A1200.iso
/
programs
/
disk
/
directory
/
exapp
/
exapp.doc
< prev
next >
Wrap
Text File
|
1995-02-27
|
6KB
|
160 lines
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-=- ExApp - Multi Application Executer! - Version 1.0 Release Date 29/10/93 -=-
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Exapp, what is it ?
===================
ExApp is a small ("small" being the key word here) program that will start
up other applications when different types of files are dropped onto it's appicon
For example so you configured exapp to recognise all .TXT file as being text.
When you drop a .TXT file onto it it will load up your text viewer/editor.
All file recognition can be done in two ways, A) the filename and use of
pattern matching, and B) by matching the first 20 bytes of the file to a
user defined string (with wild cards)
you can tell exapp to recognise as many different types of files as you like,
the only restriction being your memory size!!!
Sounds familiar ? Well the idea was taken from MultiApp but that didn't like
my system and I didnt like it! So I decided to write my own version of it.
ExApp is split into TWO seperate parts, one is the main program which does all
the work, such is determining the type of file dropped onto it and running the
appropriate program. The other part is the config part which lets you define
what types of files ExApp should recognise. It is split like this so as to
save on memory.
What do I need to run it ?
==========================
Kickstart 2.04 or better. (preferably 3.x)
Reqtools.library in libs:
Where do I put the files ?
==========================
you can put the files anywhere you like but i recommend the following places
SYS:Prefs/ExAppConfig
SYS:WBStartup/ExApp
How do I configure ExApp ?
==========================
First load up ExAppConfig, after it's loaded you should see quite a few gadgets
these function as follows.
Program - (listview) This selects which item you wish to configure.
(string) This lets you change the name of the item.
Add,Del - These add and delete selected items.
Name,Data - This tell exapp that the file type recognising is done either by
the files nameor the first 20 bytes.
Command - This is the actual command that you wish to run for the selected item.
specify full path and file name if the program you wish to run is NOT
in the PATH (see AmigaDOS manual)
if you place @F@ anywhere in the string it will be replaced by
the filename of the icon dropped onto it. You may use @F@ more than
once.
E.G. C:PPMore @F@ - would view all file dropped onto it.
DELETE @F@ ALL - would delete all files dropped onto it!!!
COPY @F@ RAM:@F@ - would copy all files to ram:
LHA X @F@ UNARC: - would unarchive files to UNARC:
Pattern - This depends on if you have NAME or DATA selected.
If you've got NAME selected it needs to be a standard amigados
file pattern (standard meaning you can use all wildcard symbols
such as #,?,(,),|,~ and so on..
E.G. #?.txt
~(#?old#?)
If you've got DATA selected each character in the pattern string
must match up to the corresponding byte in the file dropped
onto it. you can use a ? to replace a single character.
if you only need to match the first couple of bytes then you
just type in the bytes you need to match.
E.G. FORM????ILBM will match all IFF Ilbm Files
FORM will match all IFF files
?-lh?- will match archive files.
Easy really isnt it...
If you load up the config supplied (by putting ExApp.Config in S: and loading up
ExAppConfig) and have a look at that it'll beome MUCH clearer. ( I have a serious
disabilty in explaining this to other people ;-)
ExApp uses the default disk icon for it's own appicon, thus saving memory AND
diskspace (wow, all of 2K hehehe) and CANT be changed easily (yet)
but if you *REALLY* want to change it then you can do the following
create a disk icon and save it somewhere, and BEFORE workbench loads up copy it to
ENV:sys/def_disk.info, then load workbench, then copy your origonal def_disk.info
back to ENV:sys/def_disk.info or delete it. :-) see, told you it was complicated!
Mind you, you *can* modify your startup sequence to do it though!
Bugs
====
None known :-)
Possible Additions
==================
Icon selection
Icon snapshoting
con: output window modification
(if there is a demand i'll implement then, otherwise i wont as *I* dont need
them.. :-)
How to contact the author
=========================
you can either write at this address
Dominic Clifton
9 Shires Copse
Southbourne
Bournemouth
Dorset
BH6 4AL
or phone 0202-404410 (work) 0202-434858 (home)
MONEY, bug reports, comments, praise all welcome, bricks NOT :-)
Have fun with ExApp! I Know you will!!
Watchout for other COOL Hydra Productions software such as AFCOPY, the Ultimate
freeware filemanager, reads directorys like greased lightning!! (faster
that DirOpus even!!). VERY Powerfull, latest version is V3.390.
Also look out for All s/ware by PERSPEX!!!!
Greets!
=======
hellos go to the following cool dudes! (in no particular order!)
Cruise/Mystic (Moo! Moo! Moooooo!)
Proteus/Perspex
Dr Zero/Perspex
Slave/Perspex
Fireflash/Mystic
The Joker/Slipstream (got a working hard drive!)
Pilgri/\/\ (got the car fixed ?)