home *** CD-ROM | disk | FTP | other *** search
- !RunIf
- v 1.00 (07-Jan-1997)
-
- NB. I cannot guarantee the correct functioning of this program on RISC OS 2
- (I suspect it won't work) If this is a problem, contact me, or upgrade your
- OS. (The latter will probably also solve a lot of other software
- incompatibilities that you are suffering from)
-
- This program is Shareware.
-
- This means that you can copy this program to anyone you like, but if you
- find the program useful, you should register, as explained below. This
- entitles you to the latest version of this program, and of all my other
- applications.
-
- If you do copy the program it should be in its original format, with ALL of
- the accompanying files. That is :
- !Boot, !Help, !Run, !RunImage, !Sprites, !Sprites22, Docs.*, Sprites,
- Templates
-
-
- Purpose
- -------
- To allow for different Alias$@RunType for the same file.
-
-
- Eh?
- ---
- Don't you just _hate_ it when you want to look at an Artworks picture, and
- you double-click on it, forgetting that you quit !AWviewer a fraction of a
- second ago? RISC OS then happily loads ArtWorks, taking _ages_.
-
- You don't hate it? This program's not for you then... :-)
-
- Wouldn't it be nice if you could double click on a data file, and load a
- viewer? Then later, when you want to edit a file, you could double click on a
- file for the same program, and it would load the editor rather than the
- viewer. That's where !RunIf comes in...
-
- Alternatively, you may like one music player for some files, but a different
- player for some other files. Again, !RunIf can help...
-
-
- To use
- ------
- Double click on the icon in the filer window to install a copy of the
- sprite on the icon bar, in the usual RISC OS manner. Click with select (the
- left mouse button) on this icon on the icon bar to open the main window. This
- will show two display fields, and a pseudo save box. Drag the applications
- that you wish to be run into the relevant icons. Then save the utility file
- to a library directory or similar on your hard disk or floppy with the
- relevant application.
-
- Now, in your !Boot file (if you have one), or in the !Boot files of the
- relevant applications, set the Alias$@RunType for the relevant file type to
- run the newly created utility. Then when a file of that type is clicked
- on, holding (or not holding) an Alt key will run the applications as set
- up in the main window. (Note that it may be necessary to alter the !Run
- files, and maybe even the !RunImage files as well for these programs. eg
- !AWViewer does not expect to receive files. It is fixable.)
-
- Note especially the importance of removing lines in the applications which
- set the Alias$@RunType_ for that file to run the application rather than the
- utility, as desired.
-
- [By the way, if none of this makes any sense, write to me (or preferably
- e-mail me) and I'll give step by step instructions on how to do it -
- registration would encourage me to reply, of course. :-) ]
-
- See the file ArtWorks inside the Docs directory for instructions on how
- to alter ArtWorks and AWViewer to be more friendly.
-
- Note that RunIf makes no attempt to change which program loads a data
- file if one or both of the programs are already running.
-
- Finally, the program counts its errors and their time intervals. If it has
- to report five errors, each one being within two seconds of the previous one,
- then the program will kill itself. This solves (hopefully!) the problems of
- an unbreakable error loop.
-
-
- Bugs & Improvements
- -------------------
- Please report any bugs found and any possible improvements you can think of
- to me at the address shown below.
-
-
- To Do
- -----
- I'd like to make the key configurable, rather than it having to be Alt.
- However, I dunno when I'm going to get round to it. :-(
-
-
- Registering
- -----------
- To register, send £5 to me, at the address shown below, stating what version
- of which of my programs you have. You can enclose your own disk for the
- programs, and if you do so you can deduct 50p from the price. Registering
- entitles you to upgrade to later versions of the same programs and to get new
- programs for the price of £1. Any additional contributions from overseas
- towards postage would be greatly appreciated.
-
-
- Neil Walker.
- 16, Finderne Drive.
- Wymondham.
- Norfolk.
- NR18 0HU.
-
- I can be e-mailed at N.S.Walker@durham.ac.uk until June 97 but note that it
- is not yet possible to send me money via e-mail, and so any replies would be
- due to my kind natured and generally approachable personality. :-)
-
-
- Legal Notice
- ------------
- This program is supplied 'as is'. I therefore cannot be held responsible
- for any loss of data, profits or any other loss, either directly or
- indirectly, that may be incurred by the use (or misuse) of this software,
- even if I am aware of the possibility of such a loss. However, I can assure
- you that in its original state, the program contains no deliberate viruses,
- or damaging procedures, except where these are necessary for the fulfilment
- of the program's function.
-