home *** CD-ROM | disk | FTP | other *** search
/ back2roots/padua / padua.7z / padua / misc / PGPAmi26ui.lha / PGPAmiga / contrib / AmigaELM / DecryptMsg next >
Encoding:
AmigaDOS Script File  |  1994-02-24  |  494 b   |  23 lines

  1. .KEY cryptfile/A
  2. .BRA {
  3. .KET }
  4.  
  5. ;
  6. ; This is just an example...
  7. ;
  8.  
  9. ; do something with the message, e.g. decrypt it, and redirect
  10. ; input/output to actual screen (Elm's screen) for passwort prompts etc.
  11. ;
  12. ;Copy <>"CON:////IO-Window/CLOSE/AUTO/WAIT/SCREEN`GetActScreen`" {cryptfile} T:decrypt.txt
  13. PGPMore <{cryptfile} >t:decrypt.txt
  14.  
  15. ; and now display it with a text viewer
  16. ;
  17. MultiView PUBSCREEN="`GetActScreen`" T:decrypt.txt
  18.  
  19. ; get rid of our temporary file
  20. ;
  21. Delete T:decrypt.txt QUIET FORCE
  22.  
  23.