home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
164.lha
/
ARexx
/
test
< prev
next >
Wrap
Text File
|
1988-04-28
|
1KB
|
31 lines
/* */
/* example ARexx script to use Arch */
/* possible commands are: OPEN (8 char string, used in gadget) */
/* PATH (initial path for requester) */
/* EXTE (extension to match in files) */
/* FILE (filename to preset) */
/* CLOSE --terminates Arch-- */
/* when you run Arch (and you should RUN it), you must supply */
/* a name associated with your project. The following test */
/* assumes you did this in the CLI: run arch test */
/* The port name will then have 'test' imbedded in it. If you */
/* run more than one 'test' invocation of Arch, the NUMBER at */
/* the end of the portname, '1' in this case, will increment, */
/* so that there will never be any duplicate ports in-system. */
/* */
address 'APort_test_1' /* set port address */
'PATH df0:' /* set initial path */
'EXTE .info' /* set extension to match */
options results /* ensure that we can see result */
'OPEN --Test--' /* invoke requester, button named --Test-- */
options /* turn OFF result request */
say result /* show usable result from requester */
exit /* and get out (Arch still running in bkrnd) */