PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com
_____________________________________________________________
> I copied the following code out of the Help files and pasted into the
> JavaScript window in the Action tab for a Button:
>
> this.saveAs("/c/temp/test.pdf")
>
> But it does not save the file.
No, it wouldn't. Take another look at the JavaScript Reference,
specifically the note headed "Security". You probably skipped it
because it didn't seem important, but it's actually the reason
why you can't do that.
Unless you control the user's PC and can install JavaScripts to
their PC, you cannot do this at all. Consider what hackers could
do if this worked! They could overwrite the PDFs on your PC -
perhaps replace a payroll file on the boss's PC...?
Aandi
To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfdev.html