🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20298

Re: Detach Inline Graphics - VB-ID1.5.2

#20298
From: Peter Boctor
Date: Wed, 17 Jul 2002 22:51
15 lines
1588 bytes
It would be helpful if next time you can post a script snippet. "myInDesign.Select object" is probably not working because of the contents of "object". Anyway, here is a quick script that should get you started: 

 
For Each oneStory In ID.Documents.Item(1).Stories 
����For Each oneInline In oneStory.Inlines 
��������theBounds = oneInline.GeometricBounds 
��������theLocation = Array(theBounds(1), theBounds(0)) 
��������ID.Select oneInline 
��������ID.Cut 
��������ID.Paste 
��������ID.Selection.Move theLocation 
��������Next oneInline 
����End 
����Next oneStory 
End
Technical Details
Message-ID: <ef9af83.0@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!feed.textport.net!news-out.nuthinbutnews.com!propagator-sterling!news-in.nuthinbutnews.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.esat.net!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <ef9af83.-1@WebX.aaQKaf7vad4>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f939a,e3b1a92e901f8531
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-07-17 16:11:18 PST
From: "Peter Boctor" <peter.boctor@adobe.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!feed.textport.net!news-out.nuthinbutnews.com!propagator-sterling!news-in.nuthinbutnews.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!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: Detach Inline Graphics - VB-ID1.5.2
Message-ID: <ef9af83.0@WebX.aaQKaf7vad4>
Date: Wed, 17 Jul 2002 15:51:18 -0700
References: <ef9af83.-1@WebX.aaQKaf7vad4>
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit