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

script to save in a directory

matrix27
Registered: May 2 2009
Posts: 9
Answered

can anybody help me with the script code that should loop through all your fields on all pages,lock them and at the same time save it in a directory? for example ill press the button that would lock all the pages and automatically save it in drive c:\mypdf\...my purpose is to integrate the locked pdf file in my vb6 program.... pls help..

My Product Information:
LiveCycle Designer, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
Double post...just answered your question for locking the form fields in another thread.

For the other case you will need 2 things:
1. a folder level javascript because of security settings of acrobat/reader
2. a button with a javescript for fire the save function

I had a similar case in the past and got answers.
This is what your looking for, I think.

http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=16903&p=2

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

matrix27
Registered: May 2 2009
Posts: 9
thanks radzmar... youre really a genius.