Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

control acrobat from javascript

Posted on 2004-09-03
1
Medium Priority
?
279 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 63

Accepted Solution

by:
Zvonko earned 1000 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

Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
This article discusses how to implement server side field validation and display customized error messages to the client.
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…

704 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