Hi, I have successfully used Javascript setLock() to set digital signature's signed properties via OLE automation. The document contains several signature fields and, I've found that once the document is signed in one of the signature fields, setLock() will fail with an exception "Document is already signed" with all other fields. However, I can still change the digital signature properties of other fields by using the UI of Acrobat even when the document is signed. Is there any workaround?
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script