🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #1639

Re: Place Images

#1639
From: loic_aigon
Date: Thu, 29 Jan 2009 21:34
10 lines
1061 bytes
Hi Mark,

Here with CS3, it runs well :
//Given 4 rectangles placed on a page of a Indesign document.

//Import image files
var myFolder = Folder("/Users/KimLien/Documents/Lo�c/Tests");
var myDocument = app.activeDocument;
myFiles = myFolder.getFiles();
for (var myCounter = 0; myCounter < 4; myCounter++) { 	var myFile = myFiles[myCounter]; 	var myRectangle = myDocument.rectangles.item(myCounter); 	myRectangle.place(File(myFile)); }
Technical Details
Message-ID: <59b7b911.2@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeed.news2me.com!newshub.sdsu.edu!webcrossing
References: <59b7b911.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,2803cbcac5a99090
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII
From: loic_aigon <loic_aigon@yahoo.fr>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeed.news2me.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Place Images
Message-ID: <59b7b911.2@webcrossing.la2eafNXanI>
Date: Thu, 29 Jan 2009 13:34:53 -0800
References: <59b7b911.-1@webcrossing.la2eafNXanI>
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit