🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #16805

PAGEITEMS COPY

#16805
From: reyman
Date: Wed, 30 Jul 2003 13:57
19 lines
1376 bytes
I try to copy pageitems from a document to another one.
When I try with elements on the page 1, it's ok but if i try with elements on the other pages it fails!

Here is my code :

appli_indesign.ActiveDocument = doc1
appli_indesign.Select(doc1.pages.item(1).pageitems.item(1))
appli_indesign.Copy()
appli_indesign.ActiveDocument = doc2
appli_indesign.Paste()
-------------------OK-------------------
appli_indesign.ActiveDocument = doc1
appli_indesign.Select(doc1.pages.item(2).pageitems.item(1))
appli_indesign.Copy()
appli_indesign.ActiveDocument = doc2
appli_indesign.Paste()
-----------------NOT OK------------------

Please give me some help, i will become MAD
Technical Details
Message-ID: <1dea2073.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.freenet.de!151.189.0.75.MISMATCH!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,86125cabd21b391d,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-07-30 07:08:38 PST
From: reyman <reyman23@caramail.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.freenet.de!151.189.0.75.MISMATCH!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: PAGEITEMS COPY
Message-ID: <1dea2073.-1@WebX.la2eafNXanI>
Date: Wed, 30 Jul 2003 06:57:44 -0700
Lines: 20
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit