🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15586

Re: Is there a "Changes to the Object Model" document?

#15586
From: Olav_Kvern
Date: Fri, 21 Nov 2003 21:58
13 lines
1238 bytes
Dan--

I would love to create such a document, but I have not yet been able to do so. I'm actually somewhat surprised that the example you've cited worked in 2.x--I would have thought it would be:



set characterSelect to insertion point 1 of item 1 of selection

...which will also work in CS. The selection is always a list in 2.x and higher (it wasn't so in 1.5x), so it's always safer to work with "item 1 of selection" than to hope that InDesign will refer to the first item when you don't specify an item overtly.

Thanks,

Ole
Technical Details
Message-ID: <2cce8673.0@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2cce8673.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,77dc09f4d45e24ec,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-11-21 14:08:06 PST
From: Olav_Kvern@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: Is there a "Changes to the Object Model" document?
Message-ID: <2cce8673.0@webx.la2eafNXanI>
Date: Fri, 21 Nov 2003 13:58:37 -0800
References: <2cce8673.-1@webx.la2eafNXanI>
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit