Best way to insert pages from a document to another

Hi everybody,
I need to append/insert pages from a InDesign CS4 document to another one with all the content that may be present in page.
What is the best way to implement that? I didn't find anything similar to kAddDocToBookCmdBoss.
The optimum would be to have something like kAddPageToDocCmdBoss for better granularity.
Thanks a lot in advance to anybody who will express his opinion.
Luca Severini

The Pages panel flyout menu has a "Move Pages..." action / dialog.
It fires off several commands:
kCreatePageFromPageCmdBoss
cmd target is the target document
UIDList is the source kSpreadBoss.
IID_ILAYOUTCMDDATA document is the target doc again.
followed by kMoveSpreadCmdBoss and kShufflePagesCmdBoss.
Dirk

Similar Messages

  • [CS3 JS]  Move pages from one document to another?

    First, a brief explanation of what I am trying to do. I have several individual chapters that I am including in an INDD book. However, I also want to be able to allow those individual chapters to stand alone, meaning that I want to add a cover/title page to each chapter file (these two pages would be placed before the current page 1 of each chapter).
    My preference would be to write a script that would open the cover/tp file and open the first chapter file; this part is no problem. Where I am running into trouble however, is the second step: moving the cover/tp pages (2 pages) over into the chapter file.
    Manually, I would open Cover.indd, activate the "move pages" menu, "Move pages: 1-2", "Destination: Before_Page 1", "Move to: Chapter1.indd".
    With over 100 chapters in the book, however, I would prefer to automate the process. I have looked into the Page.move and PageItem.move elements, but both look like they would require a location in the current document (either in (x,y) form or using "AT_BEGINNING".
    If I cannot get this to work, I will likely try to insert two blank pages, then cut/paste with a script, but I would prefer the "move" functionality, if it is possible.
    A couple of answers to potential questions:
    I can't simply place the INDD cover file b/c it uses a text variable to pull the chapter name; this personalizes each stand-alone chapter.
    Same answer to why I can't just slap the 2-page .pdf on the front of each. I need the text variable to still be active.
    Has anyone tried to move pages from one document to another using scripting? I tried to explain what I am trying to do, but if it doesn't make sense, I can try again. :)
    thanks!
    Matt

    ok here we are
    I get a raw skeleton that you will have to adjust but it's functional.
    Use a PDF for placement as you can specify the page that you want to place.
    I don't know if you can do the same for indesign files.
    So basically, it starts adding 2 pages and placeing the pdf in the same time.
    After that, it creates the textVariable and the frame that will receive it.
    Here you are:
    //If a document is open
    if(app.documents.length!=0)
    var ad = app.activeDocument;
    //Pages placement
    for(i=0; i<2; i++)
    //Add 2 pages on top of the document;
    var tmpPg = ad.pages.add(LocationOptions.BEFORE, ad.pages[0]);
    //Here you place your pdf
    app.pdfPlacePreferences.pageNumber = i;
    tmpPg.place(File(cover.pdf), false)
    //You should specify page x and page y but ain't found yet the way to go.
    //Text variable creation
    //Check if the textVariable named "txtVar" does not already exist...
    if(ad.textVariables.item("txtVar")==null)
    //if not found, create the text variable named "txtVar"
    var txtVar = ad.textVariables.add();
    txtVar.variableType =VariableTypes.CUSTOM_TEXT_TYPE;
    txtVar.name = "txtVar";
    //Set the contents of the text variables to the string "test"
    ad.textVariables.item("txtVar").variableOptions.contents = "test";
    //these coordinates don't care aboutyour units but you may adjust them to your needs
    var y1 = ad.marginPreferences.left;
    var x1 = ad.marginPreferences.top;
    var y2 = y1+5;
    var x2 = x1+25;
    var myFrame = ad.pages[0].textFrames.add({geometricBounds:[y1,x1,y2,x2]});
    //Set the contents of the frame to the text variables "txtVar"
    myFrame.contents=ad.textVariables.item("txtVar").variableOptions.contents;
    //You may want to stylize the txtVar
    //In this case, either you use a existing characterStyle or you create one in the script
    Bye Loic

  • Copy single master page from one document to another?

    The answer to a previously posted question seems to involve creating a document differently (than I had). A lot of work went into the creation of the master pages in the original document which I will now need to recreate in the new document. Is there a way I can copy one master page from one document to another?
    Many thanks,
    Theresa

    There are a number of ways to do this.
    Create a copy of the document you want to copy the Master page from. Delete all pages except for the one you want (but you have to leave Right and Left alone as FM must always have these two pages available).
    Open the new document and the one that you want to import the master pages from.
    In the new document:
    Import from Document: (select the document with the Master Page that you want)
    then
    File > Import > Formats
    and select Page Layouts only.
    Note that Right/Left always come along for the ride.
    Alternative and probably best way to get a single Master Page:
    In new document, add a new Master Page and select "Empty".
    In the old document, on the desired Master Page, Select All on page (ctrl+A) and then copy (ctrl+v).
    In the new document on the new master page, paste (ctrl+v) to add the layout. Note: you may need to rotate the page first  if it isn't in the same orientation as in the old document.

  • Copy a page from one Document to another

    Can anyone help
    In Pages '08 we had the ability to copy a page from one document to another.
    In Pages '09 this does not seem possible.
    Does anyone have anwser....
    Thanks
    Message was edited by: AJCUR
    OK my bad
    I just realized that I was in Word Processing in one document and Page Layout in another and you cannot do the copy between the two. Changed the Blank documentto word processing and voila it worked.

    I think this might help. Go to the document you want to copy the page from and go to the "View" menu and choose "page thumbnail" so you can see the thumbnails on the side of the document. Right click (or control click) on the thumbnail of the page you want to copy and choose "copy.
    Go to the document you want to paste the page into and make sure you have the "View thumbnail" option turned on. If you already have some pages click on the page you want the new page to follow and then right click and paste the page where you want it. (you have to do this in the thumbnail view area, not in the actual document itself.) If you have inserted the page in the wrong spot, just drag it to the right location. note: I have tried dragging the thumbnail from one document to another and it does not work. Too bad because it works that way with a PDF documents in "Preview" app.

  • FW CS5: Copy Page from one document to another without changing layers

    Hi,
    how can I copy a Page from one document to another without changing the layers?
    Drag-and-drop isn´t possible and by Copy-Paste all elements are placed in the same layer.
    Greetings,
    toho

    Use File > Import.
    Open the File, then navigate to the page you want to import
    Be sure to select Insert after current page, or FW will just import the content into the current page itself.

  • Cannot move the pages from one document to another

    Hi,
    I cannot move the pages from one document to another, abobe gets crashed. I am not sure but I think this was happening when I try to copy or move the threaded content. How to resolve this, this is happening in both CS4 and CS5. Can anyone help me?

    Thanks for ur reply.
    1. Open two documents, for ex doc1 and doc2, doc1 contais 4 pages, doc2 contains 2 pages
    2. Using Move Pages from the Pages panel menu in doc1, moving 1st two pages to doc2
    Move Pages  : 1-2
    Destination   : After page 1
    Move to        : doc2
    Actually I was not able to copy the textframe which is linked with another, immediately it crashes.

  • Drag/replace pages from one document to another?

    Hello,
    I've recently upgraded from Acrobat 7 to 9, and a feature I've used for years (since Acrobat 5) doesn't seem to be there anymore...  I have a product manual I'm editing, and have a couple of replacement pages with new/updated content.  I have them side by side on my screen, and each one as the "Pages" sidebar open, and I'm trying to drag one of the replacement pages from one document, over the corresponding page in the other document.
    In earlier versions of Acrobat, I was able to drag the replacement page directly over another page in the other document, and it would simply replace it.  All I seem to be able to do in Acrobat 9 is insert it before or after the the "target" page, and then delete the page I want to replace.
    Am I missing something here?  I hope so, as the way that feature used to work was a lot more convenient!  Any help is much appreciated.

    Strange how they kill a good feature.
    to replace the contents of a page in a Pdf with a replacement.
    open PDF you want to alter.
    next go to Edit menu > Replace.
    when window is open select the new page (PDF) choose replace.
    Especially with forms, the form info will stay put while the background info will change.
    (Please note information is given by an Experienced User of Acrobat. I am not an employee of Adobe.)

  • Moving pages from one document to another in preview

    I have two PDF documents open with the sidebar on my desktop.  I have moved a page from one document sidebar to another and then saved the document with the additional page.  When I open the document the added page is not there.  This is extremely fustrating as I have tried this all different ways.  Any suggestios???

    See my reply in this thread here:
    Merge 2 pdf files into 1 ?: Apple Support Communities
    The movie is still available, watching it may help, it shows a method for adding all the pages from one PDF to another. The general idea of where to drag in the destination would still apply for adding just one page.
    Francine

  • When I move pages from one document to another, it creates a new alternate layout.

    Hello,
    I'm having an issue with combining some documents. Usually I use the "move pages" command and tell the pages to integrate with another document. However, because of the new alternate layout feature, both documents have the default layouts as "Letter V". So when I move pages from one document to the end of another, it creates a new alternate layout labeled "Letter V2" and "Letter V3" etc. Is there a way to make the pages just go into the main layout of Letter V without creating a new alternate layout? How do I merge alternate layouts created in the integrated document? All documents are the same page size and orientation.
    Thank you kindly,
    Sheena

    Petrill,
    Thank you. I was trying to do that yesterday, but it was grayed out. It seemed to work alright today.
    Thanks,
    Sheena

  • Indesign CS5 crashing public.dll when copying pages from one document to another

    Hello,
    I have several Lenovo W520 (Core i7-2720, 8GB ram, Quadro 1000M) and a couple Dell M6500 (Core i7, 4GB ram, Quadro FX 2800M) all running Windows 7 Pro x64, the latest video drivers and Adobe CS5, including Indesign 7.0.4.  We have several different Indesign docs that for the purpose of interactive Table of Contents, are copying pages from one to another to end up with one master document.  On the majority of the documents, copying as few as one page to another doc crashes Indesign with the windows system error below. 
    Faulting application name: InDesign.exe, version: 7.0.4.553, time stamp: 0x4d890440
    Faulting module name: Public.dll, version: 7.0.4.553, time stamp: 0x4d8903ca
    Exception code: 0xc0000005
    Fault offset: 0x00038727
    Faulting process id: 0x18c0
    Faulting application start time: 0x01ce1f68465d45de
    Faulting application path: C:\Program Files (x86)\Adobe\Adobe InDesign CS5\InDesign.exe
    Faulting module path: C:\Program Files (x86)\Adobe\Adobe InDesign CS5\Public.dll
    Report Id: fa196aee-8b5b-11e2-9afa-a088b43f1cec
    We have tried working with the documents on different machines (both specs outlined above), and copying different pages from one doc to another in varying quantities.  The documents do not have any link errors or other references that need to be corrected. 
    Any suggestions or other things to look at?
    Thanks.

    HI. Same problem Here. i will now trying to reinstall the software. hopefully it will help me.
    What could be the cause of this error? its not in english sorry for that.
    Název protokolu:Application
    Zdroj:         Application Error
    Datum:         22.4.2013 14:09:32
    ID události:   1000
    Kategorie úlohy:(100)
    Úroveň:        Chyba
    Klíčová slova: Klasické nastavení
    Uživatel:      Není k dispozici
    Počítač:       NB-CZ-1209.cz.corp.mann-hummel.com
    Popis:
    Název chybující aplikace: InDesign.exe, verze: 7.5.3.333, časové razítko: 0x4f6b9e72
    Název chybujícího modulu: Public.dll, verze: 7.5.3.333, časové razítko: 0x4f6b9c77
    Kód výjimky: 0xc0000005
    Posun chyby: 0x000df832
    ID chybujícího procesu: 0xad4
    Čas spuštění chybující aplikace: 0x01ce3f522c7f2f21
    Cesta k chybující aplikaci: C:\Program Files\Adobe\Adobe InDesign CS5.5\InDesign.exe
    Cesta k chybujícímu modulu: C:\Program Files\Adobe\Adobe InDesign CS5.5\Public.dll
    ID zprávy: 7d476cca-ab45-11e2-b201-009c02185dea
    Kód XML události:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Application Error" />
        <EventID Qualifiers="0">1000</EventID>
        <Level>2</Level>
        <Task>100</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-04-22T12:09:32.000000000Z" />
        <EventRecordID>12469</EventRecordID>
        <Channel>Application</Channel>
        <Computer>NB-CZ-1209.cz.corp.mann-hummel.com</Computer>
        <Security />
      </System>
      <EventData>
        <Data>InDesign.exe</Data>
        <Data>7.5.3.333</Data>
        <Data>4f6b9e72</Data>
        <Data>Public.dll</Data>
        <Data>7.5.3.333</Data>
        <Data>4f6b9c77</Data>
        <Data>c0000005</Data>
        <Data>000df832</Data>
        <Data>ad4</Data>
        <Data>01ce3f522c7f2f21</Data>
        <Data>C:\Program Files\Adobe\Adobe InDesign CS5.5\InDesign.exe</Data>
        <Data>C:\Program Files\Adobe\Adobe InDesign CS5.5\Public.dll</Data>
        <Data>7d476cca-ab45-11e2-b201-009c02185dea</Data>
      </EventData>
    </Event>

  • Inserting existing page from one document to another

    Hi,
    I have 2 documents. The first one is 4 pages and all pages are 8.5" x 11". The second document is 1 page and is 8.5" x 14".
    Is it possible to insert the 8.5" x 14" page from the second document into the first document, but make it the 4th page? (therefore making the original 4th page in the first document the 5th page...it's a revision history table so it has to be on the last page and I would prefer the 8.5" x 14" page (a flow chart) to come before it.
    Apologies if this is a bit confusing....
    Thanks!

    I have successfully created the document with the different page sizes, however my page numbers are not updated. The first file is 4 pages and is numbered in the footer as Page # of #.
    I have inserted this same variable in the second file. After the book is updated and converted to PDF, the first four pages say Page 1 of 4, Page 2 of 4, etc. and the last page says Page 5 of 5.
    Is there any way to have the first four pages reflect the correct page numbering (i.e. Page 1 of 5, Page 2 of 5, etc).

  • How do I move a Muse page from one document to another?

    I have a site that I built with Muse a year ago. I am currently building a new version of it (also in Muse). I want to be able to use a couple of the 'old' pages in the 'new' version. Is there a way I can copy a page and its assets from one Muse document to another? Also, is there a way to somehow copy an asset that is already uploaded (to my Business Catalyst hosting) to that I don't have to re-assign it to a new element in the new Muse document? IE: I have some pdf files that I used in my old site design and I'd like to use them with the new site - do I have to find them on my desktop again, re-upload them, etc? Or is there a way to use assets that are already uploaded??
    Thanks!

    You can and should make a backup of all your Muse sites so that you can recover from a stolen or busted computer… Adobe are idiotically making this harder than it should be. You should copy the entire site but the main file you need is the .muse… see screenshot,
    Now that you have a separate copy you can tell Muse to open that and (after editing it however you like) up load it as a new website.
    p.s yes you can tell one site to use the assets of a different one but I don’t recommend it because the stolen/ busted scenario would then bugger two of your sites… standard hyperlink rules apply.

  • What is the best way to append data from one field to another?

    I have the following table, table1:
    Name Null? Type
    MAIL_ID NOT NULL NUMBER(10)
    LAST_NAME VARCHAR2(45)
    FIRST_NAME VARCHAR2(45)
    MIDDLE_INITIAL VARCHAR2(1)
    ADDRESS_1 VARCHAR2(45)
    CITY VARCHAR2(35)
    STATE VARCHAR2(2)
    ZIP VARCHAR2(10)
    REMARKS VARCHAR2(200)
    The table has duplicate entries that need to be removed. The records that will be removed need the
    data in the Remarks column appended to the Remarks data of the record that is not deleted.
    For example, the following listing shows a sample of the duplicate records.
    Mail ID Last Name First Name M Address City St ZIP Remarks
    189 BROWN STEPHEN 6706 MOESER LN EL CERRITO CA 94530-2909 Sf7#s124,f16#d7996(NML)[Cl#117][Ml#1649][NMf1#d288][NCf9#d319][SNl#e62]
    211023 BROWN STEPHEN B 6706 MOESER LN EL CERRITO CA 94530 RLl#a12047[IDl#i398]
    287796 BROWN STEPHEN B 6706 MOESER LN EL CERRITO CA 94530 SNl#e1163
    The following listing shows how the kept record should appear after the duplicate records are deleted.
    Mail ID Last Name First Name M Address City St ZIP Remarks
    189 BROWN STEPHEN 6706 MOESER LN EL CERRITO CA 94530-2909 Sf7#s124,f16#d7996(NML)[Cl#117][Ml#1649][NMf1#d288][NCf9#d319][SNl#e62]RLl#a12047[IDl#i398]SNl#e1163
    I have the process of deleting duplicates working but have yet to determine the best way to move
    the Remarks data from the deleted records to the preserved record.
    I know there are probably various ways to approach this.
    Any suggestions will be greatly appreciated!
    Here is the sql for deleting duplicates.
    DELETE FROM table1
    WHERE mail_id in (SELECT mail_id FROM table1
              where not first_name = 'Null' and
    not last_name = 'Null' and
              not city = 'Null' and
              not state = 'Null'and
    not last_name = 'Anon'
              minus
              select min(mail_id) from table1
              group by first_name, last_name, city, state, address_1, organization, title);
    THANKS in advance!!!!

    Here's quick and dirty example probably a better way to do it, but this is what I came up with quickly.
    My table looks like this:
    MAIL_ID LAST FIRST PHONE REMARKS
    123 Ruff Shawn 555-555-5555 Called 10-10-04
    135 Ruff Shawn 555-555-5555 Called 10-12-04
    201 Ruff Shawn 555-555-5555 Called 10-19-04
    The code below will concatenate the remarks column from the rows, and delete the 135 and 201 rows, then update the 123 row with the concatenated remarks.
    declare
    l_remarks varchar2(500);
    l_min_mail_id number;
    begin
    select min(mail_id) into l_min_mail_id
    from test
    group by last, first, phone;
    select remarks into l_remarks from test where mail_id = l_min_mail_id;
    for i in (select mail_id, remarks from test
         where last = 'Ruff'
              and first = 'Shawn'
              and phone = '555-555-5555'
              and mail_id <> l_min_mail_id)
    loop
    l_remarks := l_remarks||','||i.remarks;
    delete from test where mail_id = i.mail_id;
    end loop;
    update test set remarks = l_remarks where mail_id = l_min_mail_id;
    commit;
    end;
    Hope this helps.

  • Can I copy a Master Page from one document to another?

    Hi - this might be a basic question, but I haven't figured out the answer yet. I have one .muse site with a Master Page that I used... I want to use that same Master Page on another .muse site that I'm working on. Is there a way I can copy the Master Page from the finished site into the other one that I'm working on?? Any help is appreciated.
    Thanks,
    Blair

    Hi Blair,
    You should be able to do this by simply selecting (Ctrl+A) and copying (Ctrl+C) all content of the Master page of Site1 and Paste in Place (Ctrl+Alt+Shift+V) in the Master page of Site2.
    Thanks,
    Vinayak

  • What is the best way to move data from one array to another

    I'm going to be moving data from one array to a larger array on the same RAID but different controller. (I have some extra extra drives I'm also going to be installing Retrospect so I can't just restore from a backup.)
    The RAID has 450GB of production files, fonts etc.
    What is the best way to move the data over?
    I saw that someone had suggested using ditto. Would that be better than MacMV?
    I also own Bru LE so I could use that.
    Any advice would be appreciated.
    Thanks,
    Paul

    Ditto is a great option -- probably the best.
    ditto -rsrc src_folder /Volumes/targetvolume/targetfolder

Maybe you are looking for

  • Interfaces used for insert/update data in tables

    for providing security the procedures are not allowed to directly insert/update the values in tables.some one suggested that use interfaces for this .i want infomation about this interfaces. how this works and how to use

  • Can I revive a cancelled web page?

    Hi, I published a web page of our wedding photo, and finally unpublished it to avoid boring everybody. But now I find that if I republish the album, I have to redo all those meticulous captions with everyone's name! Is there a way to revive the previ

  • Auto complete/spell check trouble

    How do I get the spell check function to stop telling me that my daughter's name is spelled wrong! The auto correct keeps trying to change it and it is making me crazy. Is there any way to get it to recognize her name?

  • Why is Ps and Dw now showing that I'm using a trial version?

    After using Ps and Dw CS6 since the cloud was released these applications are now showing that I'm using the TRIAL VERSION and they expire in 4 days! Yes, my subscription is vaild. The next auto billing is not until June 10th so I'm current. Yes, I'v

  • How to limit the size of a log file.

    Hi, I am developing an application that creates a log file with all actions that take place. My problem is that this log file grows a lot because the application acts as a server that is up 24 hours a day. For that reason, I wanted to limit the size