home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 2
/
goldfish_vol2_cd1.bin
/
files
/
comm
/
fido
/
spot
/
rexx
/
pgp
/
_import.spot
< prev
next >
Wrap
Text File
|
1994-07-27
|
1KB
|
41 lines
/***************************************************************************/
/* Import.rexx ©1993 Stu Churchill 2:250/107.97@fidonet */
/* */
/* $VER: Import.rexx 1.29 (5.9.93) */
/* */
/* Intended for use from a script called by TrapDoor's AFTERSESSION */
/***************************************************************************/
options results
spot_path = 'run mail:Spot' /* Change this line ONLY */
if ~show('ports','SPOT') then do
address command spot_path
'WaitForPort SPOT'
quit = yes /* Marker to close SPOT after finishing */
end
address 'SPOT'
'isiconified'
if rc = 0 then do
icon = yes /* Marker to re-iconify after finishing */
'uniconify'
end
'spot2front'
'import CLOSEWIN' /* Import messages */
ADDRESS COMMAND "RX rexx:AutoDecrypt.spot" /* Call the autodecrypt script. */
if icon = yes then do
'iconify NOREQ' /* Re-iconify if necessary */
end
if quit = yes then do
'quitspot NOREQ' /* Close SPOT if we had to open it ourselves */
end
exit