🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #1626

Re: Place Images

#1626
From: loic_aigon
Date: Thu, 29 Jan 2009 16:12
15 lines
1105 bytes
As far as I know, you are speaking japanese to an italian ;-)
Your instructions look unappropriate:
mYfolder may point to a folder object, not a file.
myFolder = Folder("/c/junk/junk2/image2/");

myFiles = myFolder.getFiles("*");
This will return a array of files by defaut, no need to reconstruct one.
myFileCounter is indeep myFiles.length;

var myRectangle = myDocument.rectangles.item(myCounter)
means they already exist or you have yo add them with coordinates.

But I am not the specialist here ;-)
Hope it helps
Loic
Technical Details
Message-ID: <59b7b911.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.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-7-bit
From: loic_aigon <loic_aigon@yahoo.fr>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Place Images
Message-ID: <59b7b911.0@webcrossing.la2eafNXanI>
Date: Thu, 29 Jan 2009 08:12:31 -0800
References: <59b7b911.-1@webcrossing.la2eafNXanI>
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit