🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20258

Re: Pasting an Item at an Insertion Point?

#20258
From: Olav Kvern
Date: Thu, 01 Aug 2002 19:34
14 lines
1216 bytes
Tony-- 

No problem--immediately after you paste, the inline frame is contained by the character preceding the insertion point. So... 

Rem Given an InsertionPoint following an inline frame... 
myIndex = myInsertionPoint.Index 
Set myStory = myInsertionPoint.Parent 
Set myCharacter = myStory.Characters.Item(myIndex - 1) 
Set myInlineFrame = myCharacter.Inlines.Item(1) 
 

Thanks, 

Ole
Technical Details
Message-ID: <ef9f91c.2@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.maxwell.syr.edu!oleane.net!oleane!bnewspeer00.bru.ops.eu.uu.net!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.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 12:40:21 PST
From: "Olav Kvern" <okvern@adobe.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.maxwell.syr.edu!oleane.net!oleane!bnewspeer00.bru.ops.eu.uu.net!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.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.2@WebX.aaQKaf7vad4>
Date: Thu, 1 Aug 2002 12:34:11 -0700
References: <ef9f91c.-1@WebX.aaQKaf7vad4>
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit