home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
t
/
taskensure
/
!Help
next >
Wrap
Text File
|
1996-01-14
|
6KB
|
127 lines
+---------------------------------------------------------------------------+
| TaskEnsure, version 1.00 |
| © DizzyWizard Software 1996. |
| By William Gibbons, 14-01-96 |
+---------------------------------------------------------------------------+
Introduction
~~~~~~~~~~~~
TaskEnsure is a small transient utility similar in function to the built-in
*RmEnsure command. Instead of checking for the presence of a modle however
TaskEnsure checks for the presence of a WIMP task (hence the name!). This is
extremely useful for command scripts etc., and in !Run files of applications.
How to use TaskEnsure
~~~~~~~~~~~~~~~~~~~~~
TaskEnsure is supplied in the form of a transient utility. This can be called
from the command line in the following way:
*TaskEnsure ["]<taskname>["] [<*command>]
We recommend you place TaskEnsure inside your library directory if you wish
to use it from the command line on a regular basis, as this saves typing in
the full pathname of the utility everytime you wish to use it. If you do not
have a library directory and are unsure of their use, please consult the
Risc OS 3 User Guide that came with your computer.
The utility checks for the task <taskname> as supplied when it is run. If
this task is not present, and a star command has also been specified in the
command string, that command will be executed. If a star command has not been
specified and the task is not present then a short on-screen message will be
printed reflecting this fact.
The optional quote marks can be used to delimit the taskname. This is so that
TaskEnsure can be used with tasks that contain spaces in their names.
Although not the norm, such tasks are not uncommon and can still be detected
using TaskEnsure in this way.
Example - to ensure that !Paint is loaded, you could use:
*TaskEnsure Paint Filer_Run Resources:$.Apps.!Paint
Or you could use:
*TaskEnsure "Paint" Filer_Run Resources:$.Apps.!Paint
Credits
~~~~~~~
Thanks to James Larcombe who is writing this documentation. *8-D
History
~~~~~~~
1.00 (14-01-96) - First release version
Legal
~~~~~
This utility is FREEWARE. That means that you can distribute it freely, as
long as no more than nominal media costs are charged. In other words, most
PD libraries should be OK apart from Skyfall PD, who we would ask to refrain
from distributing this and any of our other software. You can upload it to
BBSes provided nothing is changed and *this file remains with the
application*! AT ALL TIMES, no matter who distributes it, the copyright
remain with © DizzyWizard Software 1995. OK? Oh, and also, we take no
responsibility for any loss of data or other damage incurred whilst this
software is in use. It shouldn't happen, but if it does, don't blame us!
This utility can also be distributed with 3rd party applications, as long as
we are explicitly credited with it's copyright in the helpfile. In such cases
this document need not be distributed with the utility. If you are going to
distribute this utility with a commercial application, please contact
DizzyWizard Software first. NOTE however that this is the ONLY time the
utility may be distributed without this helpfile!
DizzyWizard Software
~~~~~~~~~~~~~~~~~~~~
DizzyWizard Software is a group of programmers, artists and musicians who
enjoy creating software for Acorn's 32-bit machines. Although primarily a PD
group, we also have some commercial software in development, and would be
happy to consider any programming work anyone may have on offer.
To contact DizzyWizard Software for general enquiries, software support or
to obtain our latest catalogue (a must!) please contact us using one of the
following methods:
Contacting DizzyWizard Software
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Internet: dizzywiz@digibank.demon.co.uk
Fidonet: "Dizzy Wizard Software" at 2:257/501.0
BBS: User #1462 ("Dizzy Wizard Software") on the Digital Databank BBS
Fax: (01752) 253388
WWW: http://www.warwick.ac.uk/~esvwh/dws/index - UNDER CONSTRUCTION!
We also have software support areas on several bulletin boards, including
the Digital Databank BBS.
+-------------+---------------------------------------------------------+
|BBS..........|Digital Databank BBS |
|Sysop........|John A Stonier (Internet: jstonier@digibank.demon.co.uk) |
|Location.....|Welwyn Garden City, Hertfordshire, UK. |
|FidoNet......|2:257/501.0 |
|Internet.....|@digibank.demon.co.uk |
|Line 1.......|(0707) 329306 / 300-28.8k / MNP 1-5(v42/42bis) / 23 Hrs |
|Lines 2/3/4..|(0707) 323531 / 300-14.4k / MNP 1-5(v42/42bis) / 24 Hrs |
|Data Format..|8 bits, No parity 1 Stop bit |
+-------------+---------------------------------------------------------+
| (Acorn Information at your Fingertips) |
+-----------------------------------------------------------------------+
Individual contact addresses can be obtained by emailing us at the address
shown above or by logging on to the Digital Databank.
I can be contacted individually by post at the following address:
William Gibbons,
52 Hurst Park Avenue,
Cambridge,
CB4 2AE.
Watch out for more DizzyWizard Software productions in the near future...
consult our catalogue for more information.
DizzyWizard Software hope you enjoy using TaskEnsure, v1.00.