Article View: adobe.scripting.indesign
Article #18672Re: page from 1 document 2 an other
From: Olav Kvern
Date: Sun, 02 Mar 2003 02:35
Date: Sun, 02 Mar 2003 02:35
17 lines
1680 bytes
1680 bytes
Ben-- Here's what you do: 1. Group the objects before you copy them. 2. Get the X and Y coordinates of the upper left corner of the group (using visual bounds). 3. When you paste the group into the target document, move the objects--using the stored X, Y as the move destination. Ungroup, if necessary. This is not really part of why I hate copy and paste. I hate copy/paste because you have to select things, and selection is a fragile and silly way to work with objects. It's also that I know the Clipboard code for both the Mac OS and Windows, having written a bunch of plug-ins that have to use it. The external clipboard in both OSs is buggy as hell, and can introduce corrupt data. If you're lucky, your copy/paste stays on InDesign's internal clipboard--but I hate depending on luck.<g> I also hate copy/paste because things can change from one document to another, depending on default formatting, colors, style definitions, and so on. Thanks, Ole
Technical Details
Message-ID:
<1de7f166.8@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<3E54F73A.2060305@comidoc.fr>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,354e3e03a5255de6 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-03-01 18:37:43 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-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: page from 1 document 2 an other Message-ID: <1de7f166.8@WebX.la2eafNXanI> Date: Sat, 1 Mar 2003 18:35:31 -0800 References: <3E54F73A.2060305@comidoc.fr> Lines: 27 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit