Article View: adobe.scripting.indesign
Article #1424Re: InDesign CS4 [Mac] Unembed the embedded in-line pictures SCRIPT / Actions SCRIPT
From: Eric
Date: Fri, 06 Feb 2009 22:41
Date: Fri, 06 Feb 2009 22:41
22 lines
1413 bytes
1413 bytes
Well here is a basic script that cuts all the inline graphics and pastes them into the document... I have no clue how you would get them *back* into the text, mind you! o_O tell application "Adobe InDesign CS3" tell active document set myStories to every story repeat with thisStory in myStories set storyGraphics to all graphics of thisStory if length of storyGraphics > 0 then repeat with thisGraphic in storyGraphics select parent of thisGraphic tell application "Adobe InDesign CS3" cut end tell select nothing tell application "Adobe InDesign CS3" paste end tell end repeat end if end repeat end tell end tell
Technical Details
Message-ID:
<59b7cc6c.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossingReferences:
<59b7cc6c.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,fd574dfea6f3d21 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Eric_@_MCA@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: InDesign CS4 [Mac] Unembed the embedded in-line pictures SCRIPT / Actions SCRIPT Message-ID: <59b7cc6c.0@webcrossing.la2eafNXanI> Date: Fri, 6 Feb 2009 14:41:40 -0800 References: <59b7cc6c.-1@webcrossing.la2eafNXanI> Lines: 23 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit