JavaScript to open the PDF file

Hi all. First time poster here. I need to open a PDF file from a javascript that I run using wscript.exe. I also need to fill out some fields in form. I will create the Javascript file on the fly from an application I'm developing. The development environment is a system based script that does not use javascript, but it doesn't have the ability to make calls from the shell.

So my goal is to create a .js on the fly file, and then open a PDF form and fill it out. I have already all the javascript code needed to fill out the forms, but I can't for the life of me how to communicate with Acrobat or Reader itself in order to run javascript.

I can and have created records of FDF and then open the file with the Adobe application and that works very well, but the PDF file must be crafted to open the FDF file from opening, and I want to avoid this extra step. I want to be able to fill out the form directly from my application.

The development environment is NOT C based ot Java-based, otherwise it would be a simple matter of using the API prescribed for them.

Any ideas?

You do not have Acrobat execute JavaScript from a file, but you can ask that it executes JavaScript from a string. Do this, use one of the several APIs, not a command line or shell call. VB is probably the best language as it fits perfectly with JavaScript. Whatever you do, you will need the Acrobat SDK. And none of this will work with the free Adobe, only Acrobat Reader.  (I don't know how it would be easy if your environment is based on Java).

Tags: Acrobat

Similar Questions

Maybe you are looking for

  • Equium L20: memory of 192 MB instead of 256 MB and slow

    I have an Equium L20, which is less than a year and began to run very slowly. It registers only 192 MB of memory, wherever it is physically a 256 MB chip in the machine. Is it because of the graphics card or is the problem why the laptop going really

  • New user of the Moto phones.

    What is unclear, when I google, I came with a web page that only you can choose ATT or T-Mobile as a carrier for you register for him. In the discussions I've seen many references to Blur.

  • Windows Media center has disappeared!

      I recently had some problems with my vista home premium and had a friend of mine glance that he ended by wiping and re-install vista but now my windows media center is is more here, I have read other forums, that I could find here nothing doesn't.

  • Help with shared folders, please

    Running Win Vista/64, almost all folders and files under Documents are also shared, with the "two guys" icon superimposed on the icons of folders and files.  Obviously because they are 'shared', these files and folders are very difficult to remove or

  • Update for Nvidia Drivers?

    This message is for all the gamers out there use VAIO systems. The VAIO update software is nice for the inexperienced, but as a hardcore gamer and a computer science major I was shocked to discover that graphics drivers specifically cannot be updated