New Forum | Previous | Next | (P-PDF) Developers
Conf: (P-PDF) Developers, Msg: 57481
Date: 5/29/2002 05:26 PM
You can embed the .js files as data objects, then use JS to install them on
the host machine, but they won't be available for use until the user
relaunches Acrobat. Also, .js files aren't "importable" into documents, per
se. They are "imported" by the host app (Acrobat) into global space.
New menu items created in JS have to be created either by actions invoked in
the js console, or by .js scripts that are loaded at app launch time.
Otherwise, you're looking at doing a compiled plugin to add the menu item.
Again, though, this is an installation procedure for the user and requires a
relaunch of Acrobat.
>>From: p-pdf-developer Listmanager
>>Sent: Tuesday, July 31, 2001 1:19 PM
>>--- Planet PDF Forum | http://forum.planetpdf.com ----
>>field validation. There are several PDF forms that I would
>>like include these in, and I'm looking for a way to import
>>these doc-level scripts into multiple PDF docs. Users are
>>accesing the PDFs remotely over the web, and I don't want
>>users to have to copy a .js file into thier
>>What I would like to do is to add a menu item that would
>>allow a forms developer to select the function from a menu,
>>and have acrobat import the selected script into a PDF doc.
>>I can create a .js file for the forms developers (I've
>>already added menu items to create standard fields in a PDF doc).
>>I know could always have them cut-and-paste the code into
>>each new PDF, but I was hoping for a programatic method.
>>thanks in advance
>>------- Planet PDF Store's Top 10 List for May ---------
>> ARTS Split and Merge - Stamp PDF - Jaws PDF Creator
>> Gemini - Amyuni PDF Converter - Crackerjack - BCL Drake
>> iCopy - ARTS Import - Mapsoft Impress Stamper
>> Find out why these were the best-selling products last
>> month. Free demos of each at the Planet PDF Store!
>>---- Powered by foxitsoftware.com & www.PlanetPDF.com ----