Solved

control acrobat from javascript

Posted on 2004-09-03
1
274 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
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…

832 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