🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting
Article #18

Re: How do I add the same field and javascript to multiple documents

#18
From: George_Johnson
Date: Thu, 26 Aug 2004 20:40
3 lines
981 bytes
Sure, you can use the "addField" JavaScript method to add a field to a document, and the "setAction" field method to add a JavaScript to a field event. To add a document-level JavaScript, you can use the "addScript" document method. More information is in the Acrobat JavaScript reference, but post again if you get stuck.

George
Technical Details
Message-ID: <3bb5a337.0@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!webx
References: <3bb5a337.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: 109719,26af56007af4c519
X-Google-Attributes: gid109719,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: George_Johnson@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting
Subject: Re: How do I add the same field and javascript to multiple documents
Message-ID: <3bb5a337.0@webx.la2eafNXanI>
Date: Thu, 26 Aug 2004 13:40:15 -0700
References: <3bb5a337.-1@webx.la2eafNXanI>
Lines: 7
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit