🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9062

Re: Putting all the elements from one page into another page

#9062
From: thechrisproject
Date: Thu, 14 Sep 2006 18:39
10 lines
1090 bytes
Using this method yields me the best results so far:

while(sourcePage.pageItems.length > 0)
{
	$.writeln(sourcePage.pageItems.length);
	var item = sourcePage.pageItems[0].getElements()[0];
	item.move(destinationPage);
}

The items are all moved properly, but they are all in the top left corner of the destination page.
Technical Details
Message-ID: <3bc17bef.16@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!217.73.144.44.MISMATCH!ecngs!feeder.ecngs.de!news.germany.com!news.isoc.lu!webcrossing
References: <3bc17bef.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,148c206390c52d9f
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: thechrisproject@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!217.73.144.44.MISMATCH!ecngs!feeder.ecngs.de!news.germany.com!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Putting all the elements from one page into another page
Message-ID: <3bc17bef.16@webcrossing.la2eafNXanI>
Date: Thu, 14 Sep 2006 11:39:24 -0700
References: <3bc17bef.-1@webcrossing.la2eafNXanI>
Lines: 11
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit