Article View: adobe.scripting.indesign
Article #18512Re: VB6: placing multiple images
From: Iolaire McFadden
Date: Tue, 18 Mar 2003 17:26
Date: Tue, 18 Mar 2003 17:26
17 lines
1667 bytes
1667 bytes
I'm going to chime in a hopefully not confuse you to much before Ole gets you good code. If your images are named 1sampleimage.tif (I don't know if a loop would work with the number 01) to 20 sampleimage.tif then you do your layout and placing in a loop to generate your new file names. For myImageNumber = 1 to 20 step 1 myFile = myImageNumber & "sampleimage.tif" REM make a box for it REM place myFile REM do what ever more you need to do REM then move to the next image next myImageNumber REM when you go to next myImageNumber it changes myImageNumber to be REM equal to myImageNumber + 1 (the 1 comes from your step 1 code) Alternately if the base name (mysampleimage.tif) changes I'd just make it a variable myImageName you change in the code (or a message box which would be more complicated) so your myFile line would be myFile = myImageNumber & myImageName iolaire
Technical Details
Message-ID:
<1de8524d.3@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!opentransit.net!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de8524d.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,67cc264116b57e96 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-03-18 09:40:02 PST From: "Iolaire McFadden" <imcfadden@costar.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!opentransit.net!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: VB6: placing multiple images Message-ID: <1de8524d.3@WebX.la2eafNXanI> Date: Tue, 18 Mar 2003 09:26:16 -0800 References: <1de8524d.-1@WebX.la2eafNXanI> Lines: 23 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit