🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8748

Re: problem with nextStyle.name

#8748
From: Andreas_Jansson
Date: Thu, 28 Sep 2006 12:40
6 lines
1512 bytes
I think that it would be a good thing if undefined was always returned when there is no object to get. It is no good to get an error message or even worse (as is the case somtimes when dealing with xmlElements) when you get an object that doesn't reveal itself as not existing until you try to reference one of its properties.

But you are quite right, Dave, a stable InDesign is the most important thing.
Recently I had to leave a VB6 version of an InDesign project behind, staying with the javascript version that I've been translating most of the code to. I really like the VB6 environment better, but because of erratic InDesign crashes that I could not relate to a specific line or part of the code I will have to make the javascript version of the project complete and discard the VB6 version.

Andreas
Technical Details
Message-ID: <3bc1cef3.8@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.albasani.net!news.isoc.lu!webcrossing
References: <3bc1cef3.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,2f8a9309c8ea275e
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Andreas_Jansson@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.albasani.net!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: problem with nextStyle.name
Message-ID: <3bc1cef3.8@webcrossing.la2eafNXanI>
Date: Thu, 28 Sep 2006 05:40:36 -0700
References: <3bc1cef3.-1@webcrossing.la2eafNXanI>
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit