🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18522

Re: AS: Paste in Place

#18522
From: Dave Saunders
Date: Wed, 19 Mar 2003 21:38
15 lines
1216 bytes
Not quite. If those frames are threaded, delete will move the contents of the text to the next frame.

Duplicate does what you want, but to be on the safe side you should do this (assuming myFrame is a reference to the frame):

tell myFrame
 duplicate
end tell
try
 delete characters 1 through -1 of myFrame
end try
delete myFrame

The try is there to deal with the case where the frame is empty.

Dave
Technical Details
Message-ID: <1de85ea6.0@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!skynet.be!skynet.be!bnewspeer00.bru.ops.eu.uu.net!emea.uu.net!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de85ea6.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,d58602b8edd4cfdc
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-03-19 14:10:09 PST
From: "Dave Saunders" <daves@pdsassoc.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!skynet.be!skynet.be!bnewspeer00.bru.ops.eu.uu.net!emea.uu.net!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: AS: Paste in Place
Message-ID: <1de85ea6.0@WebX.la2eafNXanI>
Date: Wed, 19 Mar 2003 13:38:09 -0800
References: <1de85ea6.-1@WebX.la2eafNXanI>
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit