🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8972

Re: Inserting images into an existing Rectangle with Javascript

#8972
From: Simon_Seeber
Date: Mon, 18 Sep 2006 08:12
10 lines
983 bytes

      File(images_array[0])




yah, I was doing that. I was posting the code off the top of my head.

In the end I switched to referencing the current page via app.activeDocument.lastPage() and it all works now. Previously I was using app.documents.items[0].pages.items[0] (more code off the top of my head) or something like that and it wouldn't work.
Technical Details
Message-ID: <3bc198cb.3@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing
References: <3bc198cb.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,fe6d109ac56bd544
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Simon_Seeber@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Re: Inserting images into an existing Rectangle with Javascript
Message-ID: <3bc198cb.3@webcrossing.la2eafNXanI>
Date: Mon, 18 Sep 2006 01:12:59 -0700
References: <3bc198cb.-1@webcrossing.la2eafNXanI>
Lines: 8
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing