home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 3
/
goldfish_volume_3.bin
/
files
/
text
/
edit
/
macro
/
augfl
/
goldfax.ged
next >
Wrap
Text File
|
1994-04-26
|
1KB
|
41 lines
/************************************************************
GoldFax written by Francois Helsen
for use with GoldEd
No need to run GPFax before send Fax
Install as 'GoldFax...' in the ARexx menu.
First release
$VER: GoldFax.ged 1.0 (26.04.94)
************************************************************/
OPTIONS RESULTS /* enable return codes */
if (LEFT(ADDRESS(), 6) ~= "GOLDED") then /* not started by GoldEd ? */
address 'GOLDED.1'
'LOCK CURRENT' /* lock GUI, gain access */
OPTIONS FAILAT 6 /* ignore warnings */
SIGNAL ON SYNTAX /* ensure clean exit */
/* ------------------------ INSERT YOUR CODE HERE: ------------------- */
if ~show(ports, rexx_gpfax) then
do
address command 'run >NIL: GPFax:GPFax -z -Q'
end
PRINT ALL
/* ---------------------------- END OF YOUR CODE --------------------- */
'UNLOCK' /* VERY important: unlock GUI */
EXIT
SYNTAX:
SAY "Sorry, error line" SIGL ":" ERRORTEXT(RC) ":-("
'UNLOCK'
EXIT