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

When you print to the javascript console window it opnely prints it doesn't run what 
is printed in the console window.




>>> [EMAIL PROTECTED] 08/21/03 02:55:41 >>>

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 



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

Reply via email to