🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20912

Class of Selection

#20912
From: Dave Saunders
Date: Fri, 24 May 2002 15:18
13 lines
1262 bytes
Is it right that when I ask for the class of the selection, I get the class of the first item in the list when multiple items are selected? 

I was hoping to get "list" in that case. 

Still, I can get at the info I want by checking the count: 

tell application "InDesign 2.0.1"  set theClass to class of selection end 

At this point, class of theClass yields the class of the first item in the list but count of theClass yields the count of the selected items. 

Somehow, this doesn't feel right. 

Dave
Technical Details
Message-ID: <ef8ba4d.-1@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!peer.news.opaltelecom.net!out.nntp.be!propagator2-SanJose!propagator-SanJose!in.nntp.be!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!eusc.inter.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: f939a,23ff9c66eec39f3c,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-05-24 08:37:43 PST
From: "Dave Saunders" <daves@pdsassoc.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!peer.news.opaltelecom.net!out.nntp.be!propagator2-SanJose!propagator-SanJose!in.nntp.be!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Class of Selection
Message-ID: <ef8ba4d.-1@WebX.aaQKaf7vad4>
Date: Fri, 24 May 2002 08:18:06 -0700
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit