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

How to getAVDOC in IE?

plawy
Registered: Dec 8 2009
Posts: 2

I have the following Javascript for IE:

var acrobatapp= new ActiveXObject("AcroExch.App");
var numdoc = acrobatapp.GetNumAVDocs();

for(i=0;i

thomp
Expert
Registered: Feb 15 2006
Posts: 4411
AcroExch is the ActiveX interface for the stand-alone Acrobat. AxAcroPDFLib is the interface for the Browser Object. You have to think of them as separate unrelated entities. There is a connection between the object displayed in the browser and Acrobat, but it's opaque, only Adobe knows how it actually works and I don't think any of the AcroExch functionality is availible in the browser.

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