/* This Genie selects one of several alternative Postscript prologs. These should be stored in a directory called PPage:data/Prologs. A copy of the original standard prolog MUST also be kept there so that you can restore it.
Written by Don Cox Aug 95 */
/* $VER:SelectProlog Aug 95 */
trace n
signal on error
signal on syntax
address command
call SafeEndEdit.rexx()
cr="0a"x
newfile = ppm_GetFileName("Select a PPage Postscript prolog","PPage:data/Prologs",)
if newfile = "" then exit_msg("Aborted by user")
address command
'copy "'newfile'" PPage:data/psprlg'
call exit_msg(newfile" copied to replace psprlg")
end
error:
syntax:
do
exit_msg("Genie failed due to error: "errortext(rc))