Article View: adobe.scripting.indesign
Article #8911Re: [AS] Find color mode of linked images?
From: Olivier_Berquin
Date: Wed, 20 Sep 2006 12:07
Date: Wed, 20 Sep 2006 12:07
25 lines
1338 bytes
1338 bytes
No Shane, this doens't work, because an .ai file is like a pdf, and the space isn't recognize...
Put some images in a document (some tiff, psd, pdf and ai) and try this script:
set mySpace to {}
tell application "Adobe InDesign CS2"
tell active document
set IDLinks to every item of all graphics
repeat with myImage in IDLinks
set end of mySpace to space of myImage
end repeat
end tell
end tell
You will have an error (is this sentence is correct in english ?) when the reference -- in the loop -- is a pdf or an ai file.
Oli.
Technical Details
Message-ID:
<3bc1b03c.6@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!news.germany.com!news.isoc.lu!webcrossingReferences:
<3bc1b03c.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,8faf1dbf18180503 X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Olivier_Berquin@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!news.germany.com!news.isoc.lu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: [AS] Find color mode of linked images? Message-ID: <3bc1b03c.6@webcrossing.la2eafNXanI> Date: Wed, 20 Sep 2006 05:07:51 -0700 References: <3bc1b03c.-1@webcrossing.la2eafNXanI> Lines: 24 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit