🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20261

Re: Pasting an Item at an Insertion Point?

#20261
From: Olav Kvern
Date: Fri, 02 Aug 2002 01:52
12 lines
1306 bytes
Tony-- 

It's more likely that I failed to consider the snippet I posted earlier and that you really want: 

Set myCharacter = myStory.Characters.Item(myIndex) 
 

Once you find the right character, you'll see that the Character.Inlines collection contains the group you pasted. The Inlines collection object can contain Rectangles, Ovals, Lines, Groups, etc. You might use the Debug window to stop the script after you paste the group--look at the characters around the insertion point and you'll see that one of them contains the group. 

Thanks, 

Ole
Technical Details
Message-ID: <ef9f91c.4@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <ef9f91c.-1@WebX.aaQKaf7vad4>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,62283de74e5b8c51
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-08-01 19:12:31 PST
From: "Olav Kvern" <okvern@adobe.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Pasting an Item at an Insertion Point?
Message-ID: <ef9f91c.4@WebX.aaQKaf7vad4>
Date: Thu, 1 Aug 2002 18:52:04 -0700
References: <ef9f91c.-1@WebX.aaQKaf7vad4>
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit