duplicate pages

Hi all

There are in any case to create a script to duplicate all the INDD file pages and put them at the end of the document, with reverse order, I only got a code for the current page in double after the position of the current page

app.layoutWindows [0].activePage.duplicate (LocationOptions.AFTER, app.layoutWindows [0] .activePage);

I need to duplicate pages + reverse their order

Thank you

Hi Susan,

Try this code,

myDoc var = app.activeDocument;

PGS var = myDoc.pages;

for (var p = pgs.length - 1; p > 0; p--)

PGS [p] .duplicate (LocationOptions.AT_END);

Tags: InDesign

Similar Questions

  • Remove duplicate Pages?

    Hi, I just got my Palm Pixi Plus yesterday and I'm unable to remove a duplicate page, I did. I had tried to put Google on my Launcher as a page which I did, but it happened twice. Now, I have two pages 'google' hanging out in my Launcher I would like to get rid of them! They do not appear in the list of applications because I never had to download, just make a page on my Launcher.

    Can someone help me understand this? Thank you

    Kim

    Hello

    Just press Option key, and then press the icon. Option button is the one in the A"" key.

    I hope this helps.

  • Duplicate Page with the extension .php

    I searched the forums and can't find an answer to my question.

    I have php pages in a site, with editable static regions.

    If I click on duplicate page, it tells me to enter a name, but I have no control over the extension.  It just says: .html

    Is it possible to save as .php?

    Is there a solution for this?

    Stephen

    Hello Stephen,

    Thank you for your patience. I do not see this behavior me - duplicate a PHP page shows .php as the extension and the new file is saved with the .php extension.

    You have this same problem with a simple test PHP page? Is what happens when you try to duplicate all the PHP pages in your site?

    Best regards

    Corey

  • Images are broken and are not loading duplicate pages?

    Hello

    It's probably a problem really noobish. I worked with happiness on Dreamweaver CS3 all day and had no problems.

    Just went to a new html page and when the copy on Divs and containers that contain images, images are broken, despite the situation does not change. My other pages with the same images show no broken links, no more. If I replace the image with itself, it works, however I have a lot of pictures and they don't always click in the exact spot that I would like, in the first place so copy/paste. The worst it is until I made this page on that it was not broken for everything else I was working!

    I'll have to duplicate the pages instead, which is not really useful.

    I am not trained in coding, I'm a designer and I want to keep this site as simple as possible, as I manage all this. My knowledge is limited to modest amounts of html and CSS.

    Thank you!!

    Below: What the page looks like, highlighting the top div and copying it to the new page, where I paste and it becomes broken.

    page1.PNGpage2.PNG

    Hello, same,

    DW is sometimes somewhat obstinately like a mule, and therefore you must delete your images first and insert them again with the command "insert." If you should have any success with this procedure, please charge to the top of your site, regardless of how it looks like and send us a link to it.

    Hans-Günter

  • Duplicate pages when Reader Extended?

    I created a form in live cycle designer.  This is a 5 page form and 3 pages have a button "Insert page" so that duplicate the user to add pages if necessary.  This feature seems to work very well until I "Reader extend" the document.  Once I expand the rights of reader it creates 6 pages duplicate of the first page.  I can't understand why.  I put the subform "repeat" to an initial charge = 1 and do not know what else could be the cause.  Any help is appreciated.

    I would need to see the form to understand what is happening. Can you send the form to the form no Reader Extended to [email protected]. Also indicate how you are extending reader, what version you use, and what rights you add.

    Paul

  • delete duplicate pages

    I duplicate a page with inContext, but now I want to delete... is possible?

    Hello SallivanV2,

    Take a look at the following response of Cristinel about the deletion of the image. The same applies to deleting the file.

    http://www.Adobe.com/cfusion/webforums/Forum/MessageView.cfm?forumid=82&CATID=861&ThreadId = 1416905 & enterthread = y

    Currently, InContext Editing includes support for the deletion of the file. Images or files are not deleted when you remove an image or a link to a file of a page. In addition, InContext Editing File Manager doesn't have a file remove the feature.

    The main reason for this behavior is that we want to help users to preserve the integrity of design and page link. Allowing users to delete an image when the image is deleted the page also requires a link integrity checker (like Dreamweaver). These features are on our list, but we don't have a date when we will be able to incorporate them into the product.

    Best regards
    Corey

  • I use the latest Photos of Yosemite and do a book project... HOW to go from putting duplicate page-to-page single so I can move pages

    I use iOS 10.10.5 Yosemite and more recent pictures 1.0.1 I do a book project.  How can I view the layout in single pages?   I could not separate the double page layout view.

    I go to the Apple retail store today to know given that you and I have the same problem.

  • Solve all ' / index.html ' refers to ' / ', so Google (and others) does not duplicate pages.

    This question is about a site created by Muse, published on Business Catalyst.

    Note the URL of the homepage: https://www.dropbox.com/s/o3shm9uis4jlran/screenshot%202016-04-20%2018.47.24.PNG?DL=0

    Now, if you go to one of the links on the right and click the link on the home page to return to the home page, the bar menus adds "/ index.html" at the end of the URL of the homepage: https://www.dropbox.com/s/l6k97e0so2uh9ym/screenshot%202016-04-20%2020.14.12.PNG?DL=0

    It's the "Home Pages for the twins: Classic SEO error.»

    I would like to know what I have to do within the Muse so that all references to the homepage will resolve to the version which does not add "/ index.html" to it.

    Because I have created this site using Muse, ideally, I would like to know if there is a parameter or a procedure within the Muse that could accomplish this.

    Thanks in advance to anyone who can help you.

    Hello Chuck,

    Check this thread the homepage URL without "/ index.html" where the same query has been clarified.

    Kind regards

    Ankush;

  • Help! PDF extension adds duplicate pages

    I have created a dynamic XML form.

    There are 2 sections in the form where the user may need to add additional pages, which I have added keys to use instanceManager. Everything works just swell, until I open it in Acrobat to extend the functionality so that users can record data in the form. After I have save in Acrobat and open it in Acrobat or Acrobat Reader to save, he took the liberty to insert additional pages to one of the sections.

    I checked to make sure that the Min County is equal to 1 and there is no defined Initial count. I tried the setting number of rotations to 1, but it has not solved the problem.

    Additional pages can be removed using a button "Delete Page", which I have added to the form, but once the form is saved and reopened, all additional pages are still there.

    When I put the Max of 1 (in the object-> link), it keep the extra pages added automatically, but then of course, the user is impossible to add extra pages.

    Help!

    Make sure that your pages have unique names and try again.

    Paul

  • Duplicate pages on a single page

    I do a manual mini that uses a page divided into two-page letter size portrait, but are both to be page 1. I need for the first page to have the same information on both sides, then move to the second page and so on with the same information on both sides. The reason is that the pages will be reduced by half and spiral bound to make a book. I know that I can use a libretto that would actually do the exact page for a book, but I need the same information on both sides of the page one and so on.

    How can I do this? I have set up the pages, but I don't know how to get the text so that the info will be placed correctly. I tried to paste text in the first column and that it is correctly pasted into the other pages to page 1. But when I pasted the same info on the second half of the first page, he jumbled pages and that it did not work.

    Any ideas?

    Thank you

    LS

    If you did it work?

  • Adding a page to a duplicate form double entries

    So I have a form (to the IRS) should I double page 4 a number of times.  When I do this by dragging to make duplicates 'pages', everything that I type in on one of the "duplicate" pages appears on each of them.

    Is there a way to disconnect so that all page 4 s are not the same page 4?

    No sense?

    Best regards, Andy

    OK, try the following in the interactive JavaScript console (Ctrl + J):

    // Get a reference to the template
    var t = getTemplate("Page 4");
    
    // Spawn the template as a new page at the end of the document
    t.spawn ({nPage : numPages, bRename : true, bOverlay : false});
    

    Place the cursor on the line of code with the call getTemplate and press Ctrl + Enter

    Then, place the cursor on the line of code with the call of t.spawn and press Ctrl + Enter as many times as necessary to create as many pages as you need.

    The pages will be added at the end of the document. You can move the pages where you love if you want somewhere else.

  • Automatic removal of pages duplicate in a merged pdf file?

    Hello

    I was wondering if anyone knew a way to have automatically Adobe Professional search a file pdf and remove/delete duplicate pages?  I merged a bunch of separate PDFs where files have pages in double... so instead of looking for the complete pdf to pages duplicate manually (500 pages), I was hoping Adobe Professional could do somehow automatically.

    Thank you

    kmullen

    There is no option in Acrobat, but it might be possible to do it with a custom script.

    If you are interested in one such script contact me by PM or email.

  • Duplication of the static alignment guides in the Pages

    In an attempt to use Pages (5.6.1) for a Page Layout project, instead of InDesign, I'm coming across a few limitations.

    I arranged with care a number of static alignment guides on a page of A4 landscape (see image below) and you just want to duplicate page with snap lines.

    After an hour of trying the obvious things, the search for menus, apple help, knowledge base of apple etc. I'm still sitting here unable to move forward. It is hard to believe that there is no way to implement the alignment guides that are reproducible in what is supposed to be a page layout application.

    Any ideas? Am I missing something?

    Pages does not repeat the manual guides.

    You're barking the wrong tree trying to get pages 5.6.1 to replace Indesign, for hundreds of reasons, mostly to do with key features missing many more to do with simple things such as uniformity of color and patterns of maintenance.

    The functionality missing number 1 which was in Pages ' 09, with more than 100 other people, is no link text area, followed by no Pages deal with, no funds lost, no landmarks of crop and all shadows, reflections, special frames and transparency most breed only at 72 dpi, over one pile of others.

    Worse still, you can rely on Apple to chop its file formats for most buggy, shortly after you did a pile of work, not that files are actually portable, they are working on so little OSes, usually as the last, and certainly not on any non - Mac OS.

    Affinity editor should come out this year and if it is half as good as designer of affinity and affinity Photo, will be a killer product and a brand new and a reasonable price and productive eco system.

    Peter

  • I seem to have a double page opening in Windows 7

    When I start my Windows Home Premium on the opening page blue with title when it opens it is a flash momentory and a duplicate page behind it, as the same thing happens with the next page, display the taskbar. Is that what I should be concerned, and if so is there a solution?

    Hi Anne,.

    1. Since when are you facing this problem?

    2 have you made changes on the computer before this problem?

    3. do you get any error code or error message?

    I would suggest trying the following methods and check if it helps.

    Method 1:

    Start safe mode and check if the problem persists. If the problem persists in safe mode and do not then places the computer in clean state seed and startup in normal mode to determine if there are any third-party program or an application is causing this problem.

    Step 1: Start in SafeMode in Windows 7:

    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode

    Step 2: How to troubleshoot a problem by performing a boot in Windows Vista or Windows 7:

    http://support.Microsoft.com/kb/929135

    Note: once you have completed troubleshooting, try the procedure described in step 7 to reset the computer to start as usual.

    Method 2:

    Run the scan tool (SFC) System File Checker and check if it helps.

    How to use the tool File Checker system to troubleshoot missing or corrupted on Windows 7 system files: http://support.microsoft.com/kb/929833

    Also use Microsoft Safety Scanner and check if there is no threat of viruses.

    Microsoft safety scanner: http://www.microsoft.com/security/scanner/en-us/default.aspx

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. During these 10 days, it will remove all the files infected by the virus and records. I suggest you create a backup of your data, and then install Microsoft Safety Scanner.

    Hope the information is useful.

  • Can I change the order of the pages in the script?

    Hello, my question is quite simple, that I wonder if it is possible to rearrange the pages in the form of script?

    Just as a brief description, my form is sort of work order/list control but when finished, I want to be able to rearrange the pages of forms to create a report.

    My first thought was that it would seem like a trivial thing, and there will be some sort of option to change the page number of each page of form or something like that, but I found no information by Googling unfortunately.

    I'm often with some sort of way to get around the limitations and what I think or if there is no easy way to move things by script is just to have a page in the 'other place' duplicate hidden in a first time, and to "pass" a page, I just hide the page where it is initially and then view the page in double on the secondary site.

    Again, this would be quite heavy, having to have duplicate pages and scripts of all areas for synchronize. So, I was hoping for some xfa.layout. shenanigans? Is there a way to actually reorder the pages in the script, or do I have to play hide and show?

    (On a side note, I do not seem to find any material reference on the object xfa.layout? it exists somewhere, as I have a problem to find in the regular documentation.) Using LiveCycle Designer ES2 btw.)

    Best regards, Mattias

    I'm afraid that the show / hide approach may be your only other option. LiveCycle is model based, not paginated. It is a key element of the tool because it allows content dynamically flow across multiple pages on content requirements.

Maybe you are looking for