🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2308

BeforeDisplay

#2308
From: Dave_Saunders
Date: Tue, 23 Dec 2008 16:25
13 lines
1518 bytes
In the CS4 Scripting Guide on page 108 (also on page 87 of the CS3 guide), the beforeDisplay event is listed twice with these two descriptions:

Appears before the menu or submenu is displayed.

Appears before the script menu action is displayed or changed.

The first description seems easy enough to understand, but the second one has me floundering a bit. I thought that script menu actions were invoked, not displayed. And what does changed mean in this context?

The table on page 120 (98) seems to make things a bit clearer. Presumably the second description above corresponds to:

Runs the attached script before an internal request for the enabled/checked status of the scriptMenuActionscriptMenuAction.

But what is that doubling of scriptMenuAction? Is that just a typo that has survived two editions or does that have some meaning I have yet to discern? Looks like it might be just a typo because that construction appears nowhere else in the document.
Technical Details
Message-ID: <59b7576a.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!feeder.erje.net!news4us.nl!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,a40fe75656cd0df3,start
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Dave_Saunders@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: BeforeDisplay
Message-ID: <59b7576a.-1@webcrossing.la2eafNXanI>
Date: Tue, 23 Dec 2008 08:25:27 -0800
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!feeder.erje.net!news4us.nl!webcrossing