🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #562

pdfmark & FrameMaker

#562
From: Tobias_Hugener
Date: Wed, 31 Mar 2004 12:42
15 lines
1286 bytes
Hi,

I added this code to the epilogue.ps in order to insert a JavaScript function at document-level:

[ /_objdef {TMScript} /type /dict /OBJ pdfmark
 [ {TMScript} << /JavaScript << /Names [ (docoly) << /S /JavaScript /JS (this.disclosed = true;) >> ]
 >> >>
 /PUT pdfmark
 [ {Catalog} << /Names {TMScript} >> /PUT pdfmark

Now, if I print my document to Distiller (creating a PS-file) from FrameMaker7 with "Create Acrobat Data" disabled, everything works as intended. But if I enable Acrbat Data in order to also create bookmarks, no JavaScript function is added.
Does anybody know why this is and how I could overcome this?

Thanks in advance
Tobias
Technical Details
Message-ID: <2cd0f650.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsrout1.ntli.net!news.ntli.net!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c61a,12a0c52c5ac93d2c,start
X-Google-Attributes: gid10c61a,public
X-Google-ArrivalTime: 2004-03-31 05:08:02 PST
From: Tobias_Hugener@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsrout1.ntli.net!news.ntli.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.postscript.programming
Subject: pdfmark & FrameMaker
Message-ID: <2cd0f650.-1@webx.la2eafNXanI>
Date: Wed, 31 Mar 2004 04:42:47 -0800
Lines: 20
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit