home *** CD-ROM | disk | FTP | other *** search
- #Script PGP: sign and encrypt posting
- #
- # Doesn't matter where you put the pgppath error test, the dialogue box
- # pops up. Aaarrrgh!
- #IF "<pgppath>" = ""
- #Error Cannot encrypt posting: !PGP application has not been seen by the filer
- #ENDIF
- #arg Posting:
- #arg Encrypt to:
- #IF "%0%"=""
- #Error Please drag a posting onto the field
- #EndIf
- #IF "%1%"=""
- #Error You must specify user IDs for encryption
- #EndIf
- #output post
- #
- #os Dir <ReadNews$TempDir>
- #task split_msg
- #task pgp -esa msg/txt %1%
- #include msg/hdr
- #include msg/asc
- #os remove msg/hdr
- #os remove msg/txt
- #os remove msg/asc
- #os remove !Temp!
- #os Back
-