home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Meeting Pearls 3
/
Meeting_Pearls_III.iso
/
Pearls
/
comm
/
Mail+News
/
UMS11
/
rexx
/
ROT13Decrypt.intui
< prev
next >
Wrap
Text File
|
1995-08-23
|
1KB
|
42 lines
/* ------------------------------------------------------------------------
:Program. ROT13Decrypt.intui
:Contents. decrypts ROT13 message and shows it in IntuiNews's window
:Author. Martin Koyro [mk]
:Address. Snail Mail: EMail:
:Address. Salzmannstr. 12 Martin Koyro @ MS3
:Address. 48147 Münster mk@bones.westfalen.de
:History. v1.0 [mk] 23-Mar-95
:Copyright.
:Language. ARexx
:Translator. RexxMast
:Usage. ROT13Decrypt.intui
------------------------------------------------------------------------ */
/* Exit if Message Window is not active. */
OPTIONS RESULTS
STATUS
say RESULT
IF RESULT~="MESSAGE" THEN EXIT 5
/* We get IntuiNews's message number, ... */
GETMSGNUM
MsgNum=RESULT
/* ... save the message, ... */
'SAVEMSGBODY' MsgNum 'TO T:rot13.tmp'
/* ... call rot13, ... */
EXEC 'rot13 T:rot13.tmp >NIL:'
/* ... and show the decrypted message. */
'REPLACEMSGBODY WITH T:rot13.tmp'
EXEC 'C:Delete T:rot13.tmp QUIET'