🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20191

Re: (vb) Is there anyway to the name of a placed image?

#20191
From: Torben Kiltang
Date: Mon, 05 Aug 2002 12:13
15 lines
1217 bytes
Ok. I found the solution my self, so to make a small contribution to this forum, this is the solution that I found: 

Set myDocument = myInDesign.Documents.Open(strFil) 

for each myPageItem in myDocument.PageItems 
��if myPageItem.ContentType = idGraphic then 
����msgbox "Image " & myPageItem.Images.Item(1).Link.name 
��end if 
next 

myDocument.Close 

Anyway, it might not be the most elegant solution but it works :-) 

/Torben
Technical Details
Message-ID: <efa0696.0@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <efa0696.-1@WebX.aaQKaf7vad4>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f939a,775fd52438a43a95
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-08-05 05:43:29 PST
From: "Torben Kiltang" <tki@schweitzer.dk>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: (vb) Is there anyway to the name of a placed image?
Message-ID: <efa0696.0@WebX.aaQKaf7vad4>
Date: Mon, 5 Aug 2002 05:13:27 -0700
References: <efa0696.-1@WebX.aaQKaf7vad4>
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit