These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Auto save pdf

mickael_fb
Registered: Sep 26 2007
Posts: 4

Hello, i need help...

i have find how auto print a pdf when the user open the pdf, i use: this.print({bUI:false,bSilent:true,bShrinkToFit:false});

but now i want open the save box when the user open the pdf... i use:
app.execMenuItem("SaveAs"); => KO

This don't work :s the box are not opening... Can you help me please ?

for exemple i use: app.execMenuItem("Open"); this is OK... i am reading lot of documentation and i don't find why saveas don't work????

thank you !
Mick

My Product Information:
Reader 6.0, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
The "SaveAs" menu item is restricted when used in Reader, however, it should work to save a blank copy of the file, after the file is completely loaded into Acrobat. Try placing the script into the page open event of the first page in the PDF. I don't know if this will work, it's just an idea.

You have another problem, in Acrobat 8, this won't work at all. So your PDF is only good for Acrobat 7 and earlier.

From a document design point of view, this is a bad idea. It makes you're PDF very difficult to use.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script