home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
200-299
/
ff242.lzh
/
CustReq
/
CustReq.doc
< prev
next >
Wrap
Text File
|
1989-08-30
|
1KB
|
35 lines
CustReq v2 (c) Copyright 1989 by Jonathan Potter
USAGE : CustReq "hailtext" "text" "pos" "neg" [default] [timeout]
"hailtext" - title text of requester
"text" - text of requester
"pos" - positive option of requester
"neg" - negative option of requester
default - optional default value, either 1 (YES) or 0 (NO)
timeout - optional timeout value in seconds
CustReq is a glorified ASK command for your startup-sequence.
All strings must be in quotes if they contain any spaces.
If a default of 1 is given, the requester will (try to) appear with the
positive gadget under the mouse. If a default of 0 is given, it
will (try to) appear with the negative gadget under the mouse.
If a timeout is given, the requester will timeout and return the default
value after the specified time.
If the positive option is chosen, a returncode of 5 (WARN) is generated,
otherwise 0 is generated.
An example usage of CustReq is:
CustReq "My Request" "Do you want to load Workbench" "Load" "Don't load" 1 5
If WARN
LoadWb
Echo "Workbench loaded"
EndIf
Jonathan Potter
3 William Street
Clarence Park
SA 5034
Australia
(08) 293 2788