.KEY cryptfile/A
.BRA {
.KET }

;
; This is just an example...
;

; do something with the message, e.g. decrypt it, and redirect
; input/output to actual screen (Elm's screen) for passwort prompts etc.
;
;Copy <>"CON:////IO-Window/CLOSE/AUTO/WAIT/SCREEN`GetActScreen`" "{cryptfile}" T:AmiElm-Decrypted.Txt-$process
PGPMore <"{cryptfile}" >T:AmiElm-Decrypted.Txt-$process

; and now display it with a text viewer
;
MultiView PUBSCREEN="`GetActScreen`" T:AmiElm-Decrypted.Txt-$process

; get rid of our temporary file
;
Delete T:AmiElm-Decrypted.Txt-$process QUIET FORCE

