Article View: adobe.scripting.indesign
Article #20188(vb) Is there anyway to the name of a placed image?
From: Torben Kiltang
Date: Mon, 05 Aug 2002 11:01
Date: Mon, 05 Aug 2002 11:01
21 lines
1550 bytes
1550 bytes
Hi All This is my first post and I'm not that familiar with the InDesign terminologi yet, so please bear with me. I need to find a way to get the name of an image placed in a frame. I started out with this (VBScript): Set myDocument = InDesign.Documents.Open(strFile) for each myPageItem in myDocument.PageItems ��if myPageItem.ContentType = idGraphic then ����msgbox "Image " & myPageItem.Images.Item(1).HorizontalScale ��end if next myDocument.Close This works and I get a message box showing the horizontal scale of all the images on the page. Is it possible to extract the name of the image? I do not find anything in the VBscript reference Regards Torben
Technical Details
Message-ID:
<efa0696.-1@WebX.aaQKaf7vad4>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!66.250.146.10.MISMATCH!newshosting.com!news-xfer1.atl.newshosting.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!bnewspeer01.bru.ops.eu.uu.net!emea.uu.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f939a,775fd52438a43a95,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-08-05 04:11:47 PST From: "Torben Kiltang" <tki@schweitzer.dk> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!66.250.146.10.MISMATCH!newshosting.com!news-xfer1.atl.newshosting.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!bnewspeer01.bru.ops.eu.uu.net!emea.uu.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: (vb) Is there anyway to the name of a placed image? Message-ID: <efa0696.-1@WebX.aaQKaf7vad4> Date: Mon, 5 Aug 2002 04:01:36 -0700 Lines: 25 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit