Article View: adobe.scripting.indesign
Article #9025Inserting images into an existing Rectangle with Javascript
From: Simon_Seeber
Date: Wed, 13 Sep 2006 10:45
Date: Wed, 13 Sep 2006 10:45
15 lines
1476 bytes
1476 bytes
Hi, I've been trying all day to make this waork, but nothing I try works. I have an indesign document with a group in it. The group has a label. In the group is: * a placed psd which is a background image * two empty rectangles. * a textframe with text in it. The idea is that I want to place an image into each of the rectangles that are sitting over the psd. then i want to replace the text in the frame with the filename of one of the placed files. Then I want to duplicate the whole group and go through the process again till all the images in a particular folder have been placed. The problem is no matter what means I use to referene the rectangles or textframe I am unable to use the place funtion or change the contents property. What the hell is going on here? This is the absolute worst scripting environment I've ever had to work with.
Technical Details
Message-ID:
<3bc198cb.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!solnet.ch!solnet.ch!news.germany.com!news.isoc.lu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,fe6d109ac56bd544,start X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Simon_Seeber@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!solnet.ch!solnet.ch!news.germany.com!news.isoc.lu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Inserting images into an existing Rectangle with Javascript Message-ID: <3bc198cb.-1@webcrossing.la2eafNXanI> Date: Wed, 13 Sep 2006 03:45:15 -0700 Lines: 21 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit