The common code for the functionality of your pages can be stored in the master page's code behind, making coding and updates much easier.2. Var msObjects = allPages.Here is a look at some of the benefits of using Master pages for your next website or web application.1. A little script, that will override every textframe from the masterpage with a name “numbering”:Īpp.doScript(main, ScriptLanguage.JAVASCRIPT,, UndoModes.ENTIRE_SCRIPT, “override numbering”) Then choose “Override all Masterpage Items”.Ģ. Click in the pages panel on the thumb of the first page and Shift-click on the last page. I have tried to find a solution to the problem with the override and see two possibilities:ġ. But until they get that feature, this is a pretty useful workaround. In a perfect world, InDesign would have a “skip page numbering” feature that you could just apply to a page. However, because of this trick, it skips over the blank pages and still appears as page 4: What was page 4 is now page 6, right? If I were using real page numbers, it would appear as page 6 in the upper-left corner. Now check this out… I add 2 pages after page 3, and they are blank (no master page applied). As soon as we do that, the number updates: ![]() To make the automatic numbering start working, we have to Command-Shift-click (or Ctrl-Shift-click) on the frame, to override it from the master page. For example, here I have flowed text in to my document, and I am looking at (you can see it is selected in the Pages panel)… but it still shows as page 1: ![]() The problem is that when I return to my document pages, the numbering doesn’t update. Next, I need to create a new List from the List pop-up menu (that enables the numbering to span unthreaded frame):Īfter I click OK, my new List shows up in the dialog box: You can see above that I have changed the Number field so that it only inserts the number. Next, I place my cursor inside one of the frames, type a space (there has to be at least one character in there to work), and then open the Bullets & Numbering dialog box (fastest way to do that is to Option/Alt-click on the Numbering button in the Control panel): ![]() That said, if you do want to try this, here’s the step by step, with pictures…įirst, here’s my master page, with small blank text frames where I want the page numbers to go: The main problem with this method is that you have to override the master page frames (and if you have hundreds or thousands of pages, that would be annoying). The benefit of this method is that you can insert pages where you want and choose whether they should be included in the numbering.
0 Comments
Leave a Reply. |