From: Donovan Verrill on
Hello all,
=A0
I am trying to convert rtf files to PDF files using the following code:
=A0
data null ;
file wordsys ;
put '[AppMinimize]' ;
put '[FileOpen .Name=3D"'"&dir"'\'"&file."'.rtf" ]' ;
put '[AppMinimize "Microsoft Word", 1]' ;
put '[FILEPRINTSETUP .PRINTER=3D"ADOBE PDF" .DONOTSETASSYSDEFAULT=3D1]';
put '[FILEPRINT .APPENDPRFILE=3D0 .PRTOFILENAME =3D "'"&dir"'\'"&file."'.ps=
" ]' ;

put '[FileClose 2]';=20
run ;
=A0
The problem is that the 'AppMinimize' command does not seem to be working.=
=A0 The minute the file is opened, Word maximizes and stays that way.=A0 I'=
ve tried adding multiple Appminimize commands all over the place (brute for=
ce programming) with no luck. Any suggestions greatly appreciated.=A0 Thank=
s.=0A=0A=0A