jbmsystems
asked on
wanted javascript code for exporting fdf to a disk file without prompting user
Hi,
I don't know javascript but want some code to I want to be able to export FDF form values (under reader 8) to a disk. I want to be able to specify a specific directory if possible without any user intervention. If any trusted code must be stored in the javascript directory, what is it or can that be avoided.
Thanks
Murray
I don't know javascript but want some code to I want to be able to export FDF form values (under reader 8) to a disk. I want to be able to specify a specific directory if possible without any user intervention. If any trusted code must be stored in the javascript directory, what is it or can that be avoided.
Thanks
Murray
ASKER
I would like to make this interactive. Is there a way to do that with trusted functions or can I save the entire PDF?
Thanks
Murray
Thanks
Murray
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://livedocs.adobe.com/acrobat_sdk/9/Acrobat9_HTMLHelp/JS_API_AcroJS.88.458.html
The description of the function states that it "can only be executed during batch and console events" if you want to specify an output path - this means, that you cannot run it interactively from document, or even a folder level JavaScript.
Now, if you don't want this to happen interactively and you can collect all your PDFs first to extract the FDF files, you can use a batch sequence to do that, and you will be fine.