[JS] [CS3] Change "start Peg numbering to: '"

Hello

I have a big problem on many InDesign books with approx. 158 files. In fact I cut about 400 pages InDesign files in 158 files with 2 or 4 pages each, but when I cut my reference document, it has been configured with "Start Page numbering at: ' the value '1 '.

Now I have 158 files with this option ("' start paging to:" the value "1". "), my question is possible thanks to a script to change all the files of the book with the option"Automatic Page numbering"is selected, as it is"continue from previous Document in the book.

With such a script, I'll save a lot of time on this operation and I'm not motivated to make this file by file.

Thank you

Here you are. Work on CS.

if (app.books.length != 1)
{
  alert ("Slow Reader Alert!\nI can only work on one book at a time.");
  exit(0);
}
for (doc=0; doc

It is really simple. Line by line:

  1. You can have zero or more of an open book. For simplicity, this script works on a single open book.
  2. Huh. Reinforcement group.
  3. Well. Speaks for itself.
  4. Everything done, bye.
  5. .. another reinforcement of group. It is going slower than I thought.
  6. Ah! A book contains a "BookContent" array of type objects, who holds the file name, creation date and the State (that is, if the document needs to be updated). Its length is the number of documents in the book, one per file.
  7. .. reinforcement of group...
  8. (snore) oh, sorry. "Open this document" Yes.
  9. All the documents have at least a section; the first is hardcoded to start on the first page. Since this is Javascript, it's the #0 section. The "continueNumbering" is just a Boolean, yes or no: "If it is true, continue page numbers in the order in the previous section."
  10. Close, except when this is necessary. It simply means that if the document not changed (because the numbering was allright), it be not registered, as well as in the user interface.
  11. Finally, the final closing brace.
  12. That's all.
  13. Really.
  14. (I could go on all day, you know...)

Tags: InDesign

Similar Questions

  • How to start the numbering of the pages on the left side of the spread without changing the layout.

    I'm working on a catalog that must start with page "1" on the left side of the spread. Whenever I put it, the spread moves. I understand books should start on page 1 on the right, but it's what the client asked sadly. I come from a background of Quark where it is easy with no movement to change the beginning of the page numbering. How can I change the page numbering without disrupting the file?

    Thank you

    Serena

    1. Start a new document with page 2
    2. Select all the pages in the page Panel.
    3. In the context menu of the Panel page uncheck enable spreads Shuffle
    4. Double click on the small triangle at the top of page 2
    5. Change the numbering to start with page 1 now.

    That's all

  • How do you start endnote numbering in each section?

    How do you start endnote numbering in each section?

    Break the wires between the sections doesn't help, since the end notes

    and endnote in the text references are completely static, regular

    text. (However, if it is a long document, breaking the wire between

    sections/chapters can greatly speed up InDesign, and it is one of

    the first things I do when working on long documents.)

    Now, no doubt your references to endnotes in text have a character

    the style applied to them? Similarly, I hope that your note makes reference to

    at the beginning of each note also have a character applied to style

    them? If not, the first thing to do is to apply a tank style to these (do

    2 styles - one for arbitrators in the text, the other for numbers at the beginning

    end notes).

    Then, is to find a script that can do the math based on a character style.

    Must be somewhere... Well Yes, here

    You're going to:

    http://InDesignSecrets.com/free-script-to-change-all-numbers-in-a-document-using-math.php

    So, now you just need to run the script, understand how to subtract

    each style for each section of characters so that the first note is 1,.

    and your Uncle Bob.

  • Change the Page numbers in the index

    Hello

    I have a catalog and I added two pages in the middle of the catalog. Now, due to the addition of two pages, I need to update the page numbers on the index with the new page numbers. I only need to increase each of the page by two numbers, but that starts only at a certain point. Thus, for example, on one of the index I have, 1-70 page numbers may remain the same, since the two extra pages were added AFTER page 70. But every number after 70 must increase by 2.

    I have a find and replace script. I create a table in excel and drop into the document. The script then takes any word or number that is listed in column A and replace it with what is in column B. I used initially this script to find and replace in the catalog product codes, and it worked great, because all the product codes were quite unique.

    Try to use this same script to change the page numbers, but she totally fizzled. The problem is that the same number is repeated later in the table, so the script has the table constantly replace all numbers with the first two. So, here is a small sample of my table:

    Col Col B

    423 425

    422 424

    421 423

    420 422

    But when I run the script, here is what it will turn into:

    Col Col B

    423 becomes 425 425

    422 becomes 424 424

    421 becomes 425 423 becomes 425

    420 becomes 424 422 becomes 424

    Because it alters the table, all corresponding numbers in the document then will increase to 425 or 424.

    Is there a way to ensure that the script does not change the information in the table that she uses as a reference?

    Here is the script below. I didn't write (makes a very nice person on these forums) and don't know anything about the scripts.

    the_table = app.selection [0] .tables [0];
    app.findChangeTextOptions = null;
    with (app.findChangeTextOptions)
    {
    caseSensitive = true;
    wholeWord = true;
    }
    app.findTextPreferences = null;
    app.changeTextPreferences = null;
    for (row = 0; row < the_table.rows.length; line ++)
    {
    If (the_table.rows [row] .cells [0] .silence == ")
    continue;
    app.findTextPreferences.findWhat = the_table.rows [row] .cells [0] .silence;
    app.changeTextPreferences.changeTo = the_table.rows [row] .cells [1] .silence;
    app.activeDocument.changeText ();
    }

    Thank you very much!

    It should work, but make sure you do backup first. I'm not going to say once: first make a backup copy. Yes, I said that you should make a backup first!

    Copy the following script, paste it into an editor appropriate - Adobe ESTK which comes with InDesign is good enough. Save it as "omgwrongnumbers.jsx" in your user Scripts folder. Select as little text as possible, the script will be blindly increment (or decrement) all numbers in the range. And then double-click the script runs.

    //DESCRIPTION:omg the page numbers are all wrong!
    // A Jongware Script 18-Aug-2010
    if (app.documents.length == 0)
    {
         alert ("Oh give me some text to play with :'(");
         exit(0);
    }
    if (app.selection.length != 1)
    {
         alert ("We can't go on like this. Select some text first.");
         exit(0);
    }
    
    myDialog = app.dialogs.add ({name:"omg the numbers are wrong!",canCancel:true});
    
    with (myDialog)
    {
         with (dialogColumns.add())
         {
              with (dialogRows.add())
                   staticTexts.add ({staticLabel:"First to change"});
              with (dialogRows.add())
                   aBox = integerEditboxes.add({editContents:"1"});
              with (dialogRows.add())
                   staticTexts.add ({staticLabel:"Last to change"});
              with (dialogRows.add())
                   bBox = integerEditboxes.add({editContents:"99999"});
              with (dialogRows.add())
                   staticTexts.add ({staticLabel:"Add or subtract this value"});
              with (dialogRows.add())
                   cBox = integerEditboxes.add({editContents:"2"});
         }
    }
    if (!myDialog.show())
    {
         myDialog.destroy();
         exit(0);
    }
    first = aBox.editValue;
    last = bBox.editValue;
    step = cBox.editValue;
    
    if (first < 1 || first > last || step == 0)
    {
         alert ("Now you're pulling my nose arentya");
         exit(0);
    }
    app.findGrepPreferences = null;
    app.findGrepPreferences.findWhat = "\\b\\d+\\b";
    list = app.selection[0].findGrep(true);
    changes = 0;
    for (i=0; i= first && n <= last)
              changes++, list[i].contents = String(n+step);
    }
    alert ("Number of changes: "+changes);
    
  • Can'I change my serial numbers for Photoshop elements Version 14 (X 6) to the serial number for Photoshop elements Version 10

    Can'I change my serial numbers for Photoshop elements Version 14 (X 6) to the serial number for Photoshop elements Version 10

    Serial numbers are only for a specific version... you can use the number 14 of your version to install version 10

  • How to change the page numbers after adding &amp; save page numbers in the pdf document - need to change the existing page printed on the upper right in the header numbers

    How to change the page numbers after you add and save the page numbers in the pdf document - need to change the existing page printed on the upper right in the header numbers.

    These page numbers were initially created using Acrobat PDF header and footer.

    I have a 750 page pdf document that I've created.

    I have to sometimes the pages up and down after that I added the page numbers in the document by using the Header_Footer tool on the right column of tools.

    But after you save the document, if I get a few pages around, I can't go back and change the page numbers.

    I thought that the page numbers, as indicated in the header and footer must have changed automatically, but I guess that once its print, that it cannot be edited - is that, as what is?

    So I guess we should always first get a copy without numbers of pages before confirming the documents and the creation of an index.

    A way to remove these page numbers already there and add new page numbers.

    Its a lot of work to align 750 court documents and then realize that you must move some and then realize the page numbers cannot be changed and thus begin to do this all over again to compile which can take about 10 hours.

    My question is quite simple, but I hope that overall, I got my point. Sorry if I made it is too complex.

    If no simple way, want to know if anyone has another different tool or a few recommendations to better highlight what I'm doing wrong.

    Thank you for your review and response.

    You should be able to update with tools - Pages - header & foot-

    Update... It not work for you?

    If this isn't the case, then try to remove from this menu and then re - adding them.

    Tuesday, June 23, 2015 23:55, Fortune Mile [email protected]>

  • How can I change the default numbered list formatting?

    I started a new project HR 10 and every time I turn a paragraph in a numbered list by clicking the numbering on the toolbar button, the font is changed to Arial. I need it to match my Normal style.

    In all other HR projects if I click the numbering button, it creates the list but does not change the rest of the formatting. What is going on?

    I looked in help, but he tells me that I need to define a new style etc etc. I've never done this before so am rather confused.

    Is it possible to change the formatting of a list numbered according to my Normal style so I can just click the toolbar button to convert a paragraph in list?

    It is probably because the body tag is set to Arial.

    Normal is equivalent to a p tag, while lists are ul/ol/li tags and will inherit the police body, unless configured otherwise.

    If you have two options for editing the style sheet in the editor of HR (double-click on the style sheet):

    1. You might change others > lists to your fonts.
    2. You might change others > background + text (BODY) to your fonts. With this option, all your text should use this font, unless you set a different font for a specific style (for example, the headings).

    If you change the background + text (BODY), you could edit your style sheet in a text editor and remove the entry from the family of police for the p tag, but it depends on how comfortable you are with css.

  • CS3 changes do not appear when published

    I'm having a problem with the edition, seems to have started recently (last few weeks).

    I go to edit a page using CS3, addition of text or images, and then after the publication, the new material is not displayed.

    When I go back editing mode, I can see the image or the text I added.

    Here's an example-

    This is my page while editing, you can see that I have added the copyright symbol and Joe Wood

    [IMG] http://I11.Photobucket.com/albums/a173/JoeWood_/Misc/contribute/JGarde n - 2.jpg [LINE]

    This is the page after the publication

    [IMG] http://I11.Photobucket.com/albums/a173/JoeWood_/Misc/contribute/JGarde n - 1.jpg [LINE]

    any ideas on this problem and what can I do? Sometimes, the changes will take place after that I re - edit and publish several times.

    You can ignore the registry settings. Close Contribute and navigate to C:\Documents and Settings\Settings\Application Data\Adobe\ or C:\Users\\AppData\Local\Adobe\ depending on your operating system.

    Rename the folder CS3 contribute to contribute CS3_old. Launch contribute and re-create the connection.

  • Change the Page numbers and Sections in a book once it's underway?

    CS5.5

    10.6.8 MacBookPro

    I'm working on a book of 450-500 pages with 4 chapters, 150 + images full page of text, end and beginning of information (title page, preface, introduction, table of contents, annexes, glossary, end notes).

    I booked three chapters using the InDesign book feature, now works on the bits before and end and a final chapter (actually Chapter 1).

    I watched the excellent video of Michael Murphy on the feature of the book, and it adds the page numbering and sections before he created the model. I make them after I have chapters in the book.

    A question:

    How can I add a separate paging once I have booked several chapters?
    I also want to add an article and before any style i, ii, iii, etc., and after 1, 2, 3, 4, etc.

    Second question

    How can I add the title of the book to all the pages in the left hand and the title of the chapter on the right pages now? I've never done it in InDesign, and my attempts after reading aid do not work even on a chapter outside the service book. In the book feature, I don't know yet how to start.

    Thank you very much!

    A question: same thing if you are working on a single document to create a doc of island new section where you want and adjust the figures. Numbering book will adjust when you synchronize the numbers in the book panel.

    Two Qusruib: put this stuff on master pages. Title of the book is not likely to change from page to page, then type this information in a text block. To the chapter title, use a running Header Variable (see variables in the help).

  • Find/change the question numbers and create the Table of contents

    Hello! I need help to find all my item numbers and apply a paragraph style so I can use them to create a Table of contents page.

    The sample numbers

    #12345

    #12345-5

    #12345-20

    #12345-ABC

    #12345/N

    I tried to enter #^? ^ ? ^ ? ^ ? ^ ? in the search/replace and but it is exactly 5 characters after the sign #. I wonder if you can find all characters starting by # and up until the last characters.

    Once I found all item numbers, how can I apply the paragraph style to have these characters after the sign #? Because I only want to show item numbers without the # sign on the Table of contents/Index page.

    In addition, I have InDesign CS2, which have no function GREP maybe I can do this without the GREP?

    I really appreciate any help. Thank you very much.

    Are your numbers by themselves in a separate paragraph? OTHERWISE you can not USE the table of contents feature to list all the numbers.

    If are, then just look at # in find/replace, then set it to change formatting a new paragraph style (you must create this style in CS2) that you want to include in the table of contents, then as you say, you can use find/replace once more on the history of the TOC to remove the # of all numbers.

  • Home page keeps changing start.search

    This morning my homepage in FF and IE are passed to start.search.us.com. I managed to uninstall start.search (use Revo Uninstaller; it does not appear in Control Panel of configuration/programs). I was able to change my home page in Internet Explorer to what I want and it seems to "stick". But whenever I restart FF home page I had previously put switches back to start.us. I can find no evidence of start.search in Add-ons, Extensions etc. I think I know where it came from - I clicked a little too fast on some free software and spotted the search thing too late. I saw some extremely complicated explanations and recommendations for this problem in FF somewhere with a lot of comments that the substance was indecipherable and didn't work anyway. Any suggestions? I saw a suggestion that uninstall FF and then put it back can be remedied. T it? If so I can do it quite easily - save my favorites and the relocation of the single add-on I've used for months.

    In addition, if the problem persists, you can try to start the Task Manager (right click on the task bar) > process > Show processes from all users. You can then search online suspicious Image name and try to uninstall the external program from Windows behind the suspicious name via the start menu or Windows Control Panel > programs and features, or at least changes of settings in the external Windows program. Security dedicated forum will be useful:

    http://www.bleepingcomputer.com/forums/forum79.html

    http://www.spywarewarrior.com/index.php

    http://www.spywareinfoforum.com/

    http://www.wilderssecurity.com/

  • change scale wave numbers in letters

    Hi I'm new to this forum and I have a question, I can't fix on my own.

    For an assignment for school, I need to create a program that can tell the diffrence between English and Dutch turned out. I want to solve this problem by comparing the precise amount of letters used in the music. for example, the letter e on average fills 1891 the teksts of the duch % and 12.7% of the English teksts. I think I can make it hollow comparison system. There is something that I can't find in any walktrough tutorial. I do use the waveform graphs that I'm going to compare later. I have all the letters inscribed on the x-axis and the corresponding percentage, it lies in the text on the axis y. The problem is, right now the numbers are displayed on the x-axis... 0 to 26 to be exact. Is it possible to turn those numbers into letters? in the affirmative. How?

    I don't think that you can do.  I know that, even in some examples, the x-axis are just hidden and there are floating just text (stacked bar graph Waveform).

    I remember helping a friend out with that because there was another example that made it seem possible.  We have searched a bit and found nothing until we realized that they also simply hid the axis x-axis and written in the text at the appropriate places.

    I would be interested to know if it was possible, though.  Because the properties of the range of the x-axis for min, max, start, and increment all the double I guess that's not good.

  • Change 'Start Up' of the elements in the System Configuration utility

    I tried to remove some the startup items in order to speed up my computer. When I run msconfig and I select "Start" and then check the items to delete, after I selected "Apply" I get a message that basically said... "Access error was returned. You may need to log on as an Adminitrator s changes. As far as I know, I am an administrator as ever, I added all the extra accounts and I always connect under the default account titled original HP administrator.

    In addition, what are the elements are indeed necessary on this menu? Some of them I know but there is a number, I have no idea.

    MSConfig has been designed to be a troubleshooting tool, not a "Start Configurator".  Use MSConfig to determine the location of the command who tries to start the program, and then remove it.  To stop the selective startup notifications, either return your settings to the way they were, or permanently remove unwanted programs from your startup configuration.

    In most cases, with 'good manners' applications, it is usually as simple as opening the unwanted program and deselect the "Show icon in the system tray" option or "launch at Windows startup.

    In addition, look in C:\Documents and Settings\All Users\Menu Menu\Programs\Start Up and C:\Documents and Settings\nom_utilisateur\Menu Menu\Programs\Start files and in the system registry, mainly in the HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run and HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run key.

    How to troubleshoot using the Msconfig utility in Windows XP
    http://support.Microsoft.com/default.aspx?scid=KB; EN-US; 310560

  • Changes start unexplained

    We have Windows Vista Home Premium and after have logged you on the computer seems to have been reset as if the computer was new.  The desktop wallpaper has changed, saved the desktop icons (for example, our documents) were missing, as well as other programs registered.  We immediately close the computer and later when we restarted it - everything was back to our settings. (Our custom paper painted office as well as all the saved documents & programs.) Can you explain what happened and why?

    Hello

    Could be a temporary problem or an early indication of problems in the future.

    Keep good backups.

    ------------------------

    Follow these steps to remove corruption and missing/damaged file system repair or replacement.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN

    sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Then, run checkdisk - schedule it to run at next boot, then apply OK your way out, then restart.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    I hope this helps.

  • I try to change start program, said ball Defender is turned off so I try to start it and I get erro encoder: 0x800106ba.

    I understand now that the basics of microsoft security stop Windows Defender, however, this new problem started just after the last update. I have now when I try to change a startup program, it says turn on the Defender so I try to manually start the defender and I get Encoder error: 0x800106ba. I restored Vista for the upgrade and defender still does not start. How can I change a startup program now?

    Help

    Lee

    Hello

    read this information on the Defender:

    ·                         If you use microsoft security essentials avg avira mcafee norton etc they disable the vista version of windows defender by default

    the basics of Microsoft security has its own version of windows defender

    and other anti-virus programs use their own particular type of application to scan for spyware and malware

    It of nothing to worry and is the default action, which is designed for them to do

    Error message when you run Windows Defender: «Error 0x800106ba»

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

    and if you need to change startup programs read this information on the other methods of doing it without using defender

    using msconfig read this tutorial;

    How to use MSCONFIG in Windows Vista

    Here's how to use MSCONFIG in Windows Vista to disable some unnecessary programs that load automatically at startup

    http://netsquirrel.com/Msconfig/msconfig_vista.html

    and also try this program;

    This utility, which has a knowledge of auto-starting locations of any startup monitor, shows you what programs configured to run at system startup or login and that the entries in the order of processing windows. These programs include those in your startup folder, Run, RunOnce, and other registry keys. You can configure Autoruns to show other locations, including Explorer shell, toolbar extensions, helper objects to the browser, Winlogon notifications, auto and many start-up services more

    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902

Maybe you are looking for