Solved

control acrobat from javascript

Posted on 2004-09-03
1
275 Views
Last Modified: 2008-03-06
Does anyone know where I can get the API for controlling an acrobat object from javascript?  I'm trying to create an acrobat object and then open a URL in a new window from it.

Something like:
var bat=new ActiveXObject("PDF.PdfCtrl.6");
bat.getURL("http://www.google.com", "_blank");

forgive the pseudo-code, but w/o an acrobat API, I'm just guessing at method names.
0
Comment
Question by:dcpetersonp
1 Comment
 
LVL 63

Accepted Solution

by:
Zvonko earned 250 total points
ID: 11980036
To see all Interfaces in PDF.PdfCtrl.6 do this:
1.) Open Regedit
2.) Press F3 and search for PDF.PdfCtrl.6
3.) You will see in the Deafualt key for the InprocServer32 key this entry: C:\PROGRA~1\Adobe\ACROBA~1.0\Reader\ActiveX\pdf.ocx
4.) Open any Miscrosoft Application programm, for example: Word
5.) Press Alt-F11
6.) In the Microsoft Viasual Basic window goto menu Extras->Referencies
7.) Press View button and enter the ocx path for the FileName: C:\PROGRA~1\Adobe\ACROBA~1.0\Reader\ActiveX\pdf.ocx
8.) Close that reference Dialog
9.) Press F2
10) Select the PdfLib and look for your interfaces.

My applications are in German language so the menues could be slightly different names.

0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Avoid defining the variables in the global scope; trying to define them in a local function scope. Because:   • Look-up is performed every time a variable is accessed.   • Variables are resolved backwards from most specific to least specific scope…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question