Article View: adobe.scripting.indesign
Article #16872Re: VB : COPY IN ANOTHER DOCUMENT
From: Olav Kvern
Date: Fri, 25 Jul 2003 16:05
Date: Fri, 25 Jul 2003 16:05
11 lines
1707 bytes
1707 bytes
reyman-- Copy and Paste do not apply to pages--if you look at the InDesign object library using VB's Object Browser (choose Object Browser from the View menu, or press F2), you'll see that the Page object does not have a Copy or Paste method. Ideally, the "Move" method--which Page does have--would do what you want. But it doesn't--when you provide a destination location in another document, you'll get an error. So, for now, the only thing you can do is copy page setup/guide/layer information from one document to another using scripting (get the value in document A and set it in document B) and then copy/paste page items between documents. (Or you can replicate the objects via scripting to avoid copy/paste--again, you'd get an object type in one document, then create that type of object in another document. Then you can work through all of the object's properties, getting/setting each value in turn. This is more laborious, but avoids copy/paste.) Thanks, Ole
Technical Details
Message-ID:
<1dea104a.0@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1dea104a.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,5aa7c46bbb77c5b4 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-07-25 09:07:53 PST From: "Olav Kvern" <okvern@adobe.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: VB : COPY IN ANOTHER DOCUMENT Message-ID: <1dea104a.0@WebX.la2eafNXanI> Date: Fri, 25 Jul 2003 09:05:18 -0700 References: <1dea104a.-1@WebX.la2eafNXanI> Lines: 23 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit