Solved

control acrobat from javascript

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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

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…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
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…

751 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