Previous | Next | (P-PDF) JavaScript
Topic: Re: Linking .js file to a pdf (Via Email)
Conf: (P-PDF) JavaScript, Msg: 80769
From: prodok
Date: 2/4/2003 02:12 AM
>How to link a java script file like(test.js) to a pdf document?For
>example if we place a file named test1.js file in "C:\Program
>Files\Adobe\Acrobat 5.0\Acrobat\Javascripts"
>the test1.js file automatically fires when ever the application is
>opened (i.e.) is acrobat is opened (i.e.) folder level scripts .
This is one of the locations in Windoof, indeed.
>Like the same way can i place any javascript file(test.js) in any
>folder so that it gets fired when ever the document is opened.
So far, I have not seen any possibility to link in an external
JavaScript file just so. There are some kind of workarounds, using an
FDF containing he /After directive, which could execute JavaScripts
at load time of the document, if it were imported there.
Hope, this can help.
Max Wyss
PRODOK Engineering
Low Paper workflows, Smart documents, PDF forms
CH-8906 Bonstetten, Switzerland
Fax: +41 1 700 20 37
or +1 815 425 6566
e-mail: mailto:max@prodok.com
http://www.prodok.com
[ Building Bridges for Information ]
______________________
Shameless Plug:
Sponsored by Essociates Group, endorsed by Amgraf, Inc. and the
Business Forms Management Association, I will present a
training/tutorial "Advanced Acrobat Forms" in Columbus, OH, March
11-12, 2003. More information under
http://www.essociatesgroup.com/advanced_acrobat_forms.htm and
http://www.bfma.org.
Presentations and a half day workshop are planned at the BFMA
Symposium 2003 in Denver, CO, May 18-22, 2003. More information on
http://www.bfma.org.
I will have various appearances and conduct an all-new workshop at
the PDFConference 2003 East in Bethesda, MD, June 2 to 5, 2003. More
information about this event is available on
http://www.pdfconference.com.
Also available for "Advanced Acrobat Forms" on-site
trainging/consulting anywhere in the US and Canada in the first half
of March 2003, as well as second half of May/first half of June,
2003; feel free to contact me in private.
_________________________