Hi,
I want control a pdf file with an application like Visual Basic....
I use the JSObject but it doesn't work....
An idea?
Thanks
Hi,
I want control a pdf file with an application like Visual Basic....
I use the JSObject but it doesn't work....
An idea?
Thanks
The best way to use the JSO is for calling folder level functions. There is a fundamental incompatibility between VB and JS. So writing VB code like it's JS code is generally a bad idea. Write the functionality you want to run in Acrobat as a folder level JavaScript function. Make sure it works within Acrobat by testing the function from a button on a PDF. Then call the function from the JSO.
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]
Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script