🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9057

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

#9057
From: Dave_Saunders
Date: Thu, 14 Sep 2006 15:59
5 lines
1341 bytes
You should not need to use allPageItems -- indeed, you must not use it. It returns an array of all pageItems on the page in question whether or not they're contained in some other page item (although, there is a bug, if you're using pageItems as anchored objects in text on a path, but that is such a rare scenario that most people are unaffected by the bug).

Because you're moving page items to another page, the items contained inside other items will come along for the ride, so you only need to move the members of the collection of pageItems, i.e., those which are directly on the page, not nested inside something else.

Dave
Technical Details
Message-ID: <3bc17bef.11@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!feed.xsnews.nl!feeder.xsnews.nl!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!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: Dave_Saunders@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!feed.xsnews.nl!feeder.xsnews.nl!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Putting all the elements from one page into another page
Message-ID: <3bc17bef.11@webcrossing.la2eafNXanI>
Date: Thu, 14 Sep 2006 08:59:32 -0700
References: <3bc17bef.-1@webcrossing.la2eafNXanI>
Lines: 12
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit