Article View: adobe.scripting.indesign
Article #1901Re: [CS4 JavaScript] Adding a CrossReferenceFormat
From: Olav_Kvern
Date: Wed, 14 Jan 2009 21:10
Date: Wed, 14 Jan 2009 21:10
11 lines
1365 bytes
1365 bytes
Hi Rick, I used try/catch in the scripting documentation because I think that it's easier for new scripters to understand. The idea being that null and undefined are somewhat esoteric concepts. The point of the scripting documentation is clarity--you'll note that it's often more verbose than is really necessary for a production script. My thinking is that the hard part is learning InDesign object model, and that people can always optimize their scripts once they have the model in mind. There are various other constraints, as well--the scripts need to use the same overall structures in all languages to make maintaining them easier. Sometimes, I have to do without a feature in one language or another to accomplish this. Thanks, Ole
Technical Details
Message-ID:
<59b78308.4@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossingReferences:
<59b78308.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,49b15a73a3ef986c X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Olav_Kvern@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: [CS4 JavaScript] Adding a CrossReferenceFormat Message-ID: <59b78308.4@webcrossing.la2eafNXanI> Date: Wed, 14 Jan 2009 13:10:00 -0800 References: <59b78308.-1@webcrossing.la2eafNXanI> Lines: 20 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit