🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20272

Re: Pasting an Item at an Insertion Point?

#20272
From: Olav Kvern
Date: Fri, 02 Aug 2002 17:19
11 lines
1538 bytes
Tony-- 

re: select method failing 

It's probably because the InsertionPoint is not on the current spread. In InDesign 2.x, you have to make the spread containing the object the active spread (InDesign.ActiveWindow.ActiveSpread) before you attempt to select the object. (In at least some earlier versions of InDesign, the program would make the spread containing the object the active spread when you used the Select method--I'm not sure when it stopped working.) 

The other possibility is that the InsertionPoint is in overset text (i.e., it's not composed in any text frame on any page). You can check for this by looking at the InsertionPoint.Baseline property--if you get an error, it's because the InsertionPoint is in overset text. 

Thanks, 

Ole
Technical Details
Message-ID: <ef9f91c.6@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-06!sn-xit-04!supernews.com!newsfeed.gamma.ru!Gamma.RU!colt.net!newsfeed.esat.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-02 10:43:28 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-06!sn-xit-04!supernews.com!newsfeed.gamma.ru!Gamma.RU!colt.net!newsfeed.esat.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.6@WebX.aaQKaf7vad4>
Date: Fri, 2 Aug 2002 10:19:45 -0700
References: <ef9f91c.-1@WebX.aaQKaf7vad4>
Lines: 19
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit