🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19594

Re: VB InDesign Selection Frustration

#19594
From: David Ames
Date: Mon, 02 Dec 2002 01:49
7 lines
1136 bytes
My GUESS is that ID's Select function is not returning a Indesign.selection, try this:

msgbox(typename(objIDApp.Select (objCurDoc.TextFrames.Item("one"))))

and see what IDApp.Select is returning. My GUESS is that it's going to be a type of page item, like a Rectangle or TextBox.

The PageItems collection does exactly this, the doco says that it returns a PageItem, but it doesn't, it returns a type of PageItem, eg a Rectangle or TextBox.
Technical Details
Message-ID: <1de6d2f7.0@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de6d2f7.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,b5829e63ab908ff4
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-12-01 18:07:34 PST
From: "David Ames" <davida@in-site.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: VB InDesign Selection Frustration
Message-ID: <1de6d2f7.0@WebX.la2eafNXanI>
Date: Sun, 1 Dec 2002 17:49:29 -0800
References: <1de6d2f7.-1@WebX.la2eafNXanI>
Lines: 11
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit