The PDF list is a service provided by PDFzone.com | http://www.pdfzone.com __________________________________________________________________

In the JS console window, first select all the code that you wish to execute, then hit enter.
You might have to put semicolons at the line ends, but Acrobat JS is not supposed to require this.


On Thursday, Aug 21, 2003, at 01:55 US/Central, Isabelle DASTUGUE wrote:


The PDF list is a service provided by PDFzone.com | http://www.pdfzone.com
__________________________________________________________________



Could you tell me why my code is not written well in the JavaScript console but is not carried out ?


(Pourriez vous me dire pourquoi mon code s'�crit bien pas dans la console JavaScript mais ne s'ex�cute pas ?)

Dim PDDoc As CAcroPDDoc
Dim jso As Object
Set PDDoc = CreateObject("AcroExch.PDDoc")
Set AVDoc = CreateObject("AcroExch.AVDoc")
AVDoc.Open "C:/test.pdf", "C:/test.pdf"
Set PDDoc = AVDoc.GetPDDoc
Set jso = PDDoc.GetJSObject
jso.console.Show
jso.console.Clear
jso.console.println ("var f = this.addField(""mySignature"", ""signature"", " & PDDoc.GetNumPages - 1 & ", [40,40,50,100]); f.strokeColor = color.black; f.setAction(""Format"",'Afsignature_format(""these"",new array (""mysignature"")),'); var ppklite = security.getHandler(""Adobe.PPKLite""); ppklite.login (""isa"",""c:/WINNT/Profiles/sr/personnel/adobe/acrobat/ ISABELLEDASTUGUE.apf""); f.signatureSign(ppklite, {password:""isa"", location:""Isabelle DASTUGUE"", reason:""I am approving this document"", contactinfo : ""[EMAIL PROTECTED]"", appareance : ""Fancy""}); ppklite.logout();")
PDDoc.Save 3, "C:/test.pdf"
PDDoc.Close
AVDoc.Close True


Thanks
(Cordialement)

Isabelle DASTUGUE

To change your subscription:
http://www.pdfzone.com/discussions/lists-pdf.html


Jim Plante
<[EMAIL PROTECTED]>


To change your subscription: http://www.pdfzone.com/discussions/lists-pdf.html



Reply via email to