To access the InDesign master page items by name

Hi all

is it possible to select items from master page by name or label (InDesign CS 5.5, javascript)?

myPage.masterPageItems.???

I tried a lot of combinations, for example.itemByName("NAME");.item("name"), but none of them worked for me. I was able to select a frame by its index ("... masterPageItems [0];").

... Grateful Jan for any advice!

Jan,

You can not. myPage.masterPageItems is table of page elementsand not a collection.

You need to loop through all the elements of the master page and search for items you want,

or find maybe apply the master page, and then do something like this:

myPage.appliedMaster.pageItems.itemByName ("NAME");

Hope that helps.

--

Marijan (tomaxxi)

http://tomaxxi.com

Tags: InDesign

Similar Questions

  • Question about InDesign: master page items I delete will not be missing.

    I'm working on bringing a book, with chapters that are separate files. Of course, there are a master page with various guides that I use a lot, as well as a header running pretty standard with the names section and chapter and page numbers. As is standard practice, I would like to appear on almost all the pages, but not on the front pages of the chapters. (There are other times I might want to replace it, but that is the main). So, I Ctrl-Shift-click, then delete them when I put in place a new chapter.

    Problem is that they are not missing. Every so often, I open a previous chapter and find that these items are back on the first page of this chapter, and I remove them again. I only noticed this since I did the chapters in question in a book file so that I can keep an eye on my pages and synchronize styles more easily.

    My best guess is that maybe it has something to do with the aforementioned synchronization. I don't want these chapters to share the same master pages, but don't want to keep IDto re-application of the elements of their share to the individual pages that I have already manually the deleted since (sometimes more than once). How can I stop this from happening? (Or otherwise, if it is not the cause of the problem, what else could be and how to deal with that?)

    Create a different master page based on your primary master page for these pages. Do not make substitutions on the pages of work.

  • Need to fix the upstairs master page items on various page sizes?

    I'm creating wireframes in Indesign. I have a master page with menu, logos and others at the top of a web page (1024 x 768) of standard size. I want to create additional templates based on the same menu (etc.), but different lengths. (1024 x whatever) to show more content. But when I try to add a different size of master based on the main master he places the menu in the middle of the new page, not at the top. How can I keep the menu locked up? Thank you!

    Ok. Another layout did the trick.

  • Master Page Items question: I use master pages for a 60 page document and just found out that some of my master page items are multiplying! There are some boundaries on the pages and some of them are constantly a quantity apparently endless on top of e

    Master Page Items question: I use master pages for a 60 page document and just found out that some of my master page items are multiplying! There are some boundaries on the pages, and some of them are constantly a quantity apparently without end on top of the other. For example, I replace to change the color of the border and notice a black there's below him so I deleted the extra and there is another and another and another... EEK. I can easily hide them, BUT I fear they will lead to complications in the case of pre-press printing. What is the cause? What can I do to prevent it? How can I get rid of the stack-up?

    It's always haapening, if you substitute any element on the page and later master you reapply the same or another master. I would NEVER say to replace any itme master page in the page. Instead create another master based on the first, make the substitutions and apply this master. Substitutions on the pages should be avoided in all cases, not only for the problem you described above, other issues of accessibility will also come into play.

  • Video tutorial of Danielle Beaumont 'Add sensitive to the master page items' is not working properly. Adobe can address?  Or, please can someone help me?

    Video tutorial of Danielle Beaumont 'Add sensitive to the master page items' is not working properly. Now I'm stuck with the "Pigeon" - site and I do not know. can someone help me?

    Hello

    I don't know why he's not working on your side, because I am to play the tutorial in all browsers, however, I would suggest you to please try to delete the cache of your browser.

    And also to change your network if you are connected to a wifi.

    If none of them works, please try to uninstall the flash player and put it back, once the browser will ask you to do.

    Kind regards

    _Ankush

  • [CS5] Master page item affecting the spine

    Hello

    I get a weird behavior of CS5, where the program includes elements of master page wrong. I noticed this first on a file converted from CS3.

    I tried in vain to replicate this constantly in a new file. Master page items from time to time will appear on the opposite page if they affect the spine. Everyone knows something similar? Once this has happened once in the file, however, it doesn't go away. I have attached a three file idml page with just a few black boxes on the master page.

    http://www.sendspace.com/file/56hpgt

    It seems to me that the frame on the left is actually extending into the right page by a fraction of a millimeter which is samll as long as it is rounded to 0.

    If you select the check box to the left, set the ruler origin to the sovereign on the spine (for some reason, that which seems to be necessary), and then select a power of Attorney law-ege point in the transformation of the power of Attorney and re - enter 0 in the abscissa filed it seems to correct itself.

  • Editing Master Page items

    I have a logo on my pages that descends from a master page. Sometimes it is in the way of content, so I replace all elements of Masterpage and delete it. Then, later, I discovered that it's baaack. I thought that if I left the page in this substitution, master page items would not update. In a document of p. 112, which is put under press, this can be a problem for me.

    First of all, there is no reason to override all Master Page items. You need only replace the logo by Cmd-Shift-click it.

    Logo should not be back soon unless you reapply the master for other reasons. Can you give more information?

  • I disabled the toolbar > > Menu button (via a right click on a PC, Windows 7) and cannot access the toolbar to add items to the sail back in. Any ideas?

    I disabled the toolbar > > Menu button (via a right click on a PC, Windows 7) and cannot access the toolbar to add items to the sail back in. Any ideas?

    Don't see the menu bar not (File, Edit, View, history, Favorites, tools, help)?
    Turn on/off the menu bar is a new feature in version 3.6.
    (Linux and OSX see: what happened to the file, edit and view menus? )
    Windows Method 1. Press and hold the key and press the letters of the following in this exact order: V T M
    Windows method 2 Press and release the button. The Menu bar is displayed; then choose ~ ~ red: V ~ ~ iew > ~ ~ red: T ~ ~ oolbars and click on ~ ~ Red: M ~ ~ enu Bar.
    The menu bar should now be displayed permanently, unless you turn it off again using view > toolbars. Check = not displayed, NO check mark is not displayed.
    See: http://support.mozilla.com/en-US/kb/Menu+bar+is+missing

    Navigation, bar toolbar bookmarks and other toolbars under view > toolbars. By clicking on one of them will place a check mark (display) or remove the check mark (not shown).

    To display the status bar, view, and then click status bar to place a check mark (display) or remove the check mark (not shown).

    Mode full screen
    http://KB.mozillazine.org/netbooks#Full_screen

    See also:
    Back and front toolbar buttons or others are missing
    Customize controls, buttons, and Firefox toolbars

  • Page style changing page to page (fonts, positioning), even with the same master page.

    OK, Ive never noticed this before. Here's the question.

    I have elements such as fonts, positioning evolution page by page. Even when they share the same master page.

    For example. In my footer using fonts im 'A' with focus on my positioning jig.  I'm using this master page for my map of the whole of the site.

    When I publish the site and go to other pages are 'A' becomes Ariail or default, loses all the attributes style and is now turned to the left.

    What is happening here.

    styling_issue.png

    Tour of 'IBE' in the 'Advanced' Panel ' file > real estate Site "to Muse and re - publish. This will be corrected in a 2015.1.2 update that will be released soon.

  • I can't access the adobe paying page

    I can't access the adobe paying page (his show 4 squares and continue loding for an hour, until I boring), I can't buy the photoshop program!

    Hello

    I would ask to try the same thing in a different web browser. Hope this will help you.

    Kind regards

    Hervé Khare

  • An error occurred updating the provisions of the article. The InDesign for page layout file can not be...

    When you try to complete the tutorial for indesign, I get the following error when you try to add an article to my folio:

    "An error occurred while updating the provisions of the article. The InDesign for page layout file is not found. »

    I am able to create the folio then I click into articles. My 'WiFi_v.indd' document is opened by clicking Add article, but I get this error message.

    I use the following versions of the software (should be later).

    -Folio Builder (downloaded version Version 1.1.8.0)

    reported version:

    11.4.3.20111129_m672305 7.5.5.17

    Adobe Design 7.5.2 CS 5.5

    Also tried to reinstall the plugins (uninstall and install)

    Ok.

    Sometimes I have some problems with the mounted network volumes.

    When dismantling and then it works again.

    Try dismantling of unnecessary volume and try again.

    Or try local labour and unmount all volumes of network.

    We hope that you will get to work.

    BR

    Henrik

  • How to apply the new Master Page to all subjects?

    Dear all:

    I work with RH8 to create the CHM, HTML Help file as main page layout.

    I create this new Master Page and want to apply to all subjects in the project, who are apparently a lot. And if I did a right click on each topic and choose 'Properties of the section' and the master page, one by one, it would be painful.

    So, it is possible to apply the new Master Page to all subjects in one fell swoop?

    Thanks a lot for your help!

    Hi PL

    If you click Display > pods > list of topics, you should see the pod Willam speaks. And inside this pod, you're able to press Ctrl + A to select all subjects. And it is certainly a valid way to associate several topics in the Master Page.

    Here's another one. If you look at the recipe for the presentation of unique Source of WebHelp, you should see an option that allows you to associate a master to all subjects Page as the result is created.

    See you soon... Rick

    Useful and practical links

    Wish to RoboHelp form/Bug report form

    Begin to learn RoboHelp HTML 7 or 8 times now - $24.95!

    Adobe Certified RoboHelp HTML Training

    SorcererStone blog

    RoboHelp EBooks

  • I can't access the files under a specific user name, no password

    original title: access files

    Received the infamous "blue screen" error  Installed new hard drive and Windows XP Pro.  Installed old drive "blue screen" in a "pregnant" so I could access the files.  Only problem is that I can't access the files under a specific user name, no password.  All of the suggestions.

    In a situation like yours, you need to "Take Ownership" files that you can access on your old disk:

    "How appropriate a file or a folder in Windows XP"
      <>http://support.Microsoft.com/kb/308421 >

    HTH,
    JW

  • On the Master Page items text wrapping

    RE: InDesign CS2 on Windows Vista

    Hello

    I inserted a chart on both of my master pages and a dressing applied to them.  However, on my document pages, my text wraps not around the chart.  (In the text frame Options dialog box, the box "ignore the text not dress" is not checked.)  I know that I can either replace my page master points (and reinsert the graphic) or Ctrl-Shift-click on the graph and forces the text to surround.  But this puts another link in the image of my paper... and I'm trying to minimize the size of the file.

    Do you have ideas on how to make the text wrap on the work of master pages to the pages of document?

    Skin on masters is not performed on the live pages in CS2. It was added as a feature of CS3.

    Bob

  • Relock the master page items

    How to block the elements of the master page on other pages? I made a page master one unblocked a block of text, then their personalized on each of the pages of the latter, but now I need to relock them because I have to move on a bit, and I want to train the master page.

    If you did nothing but edit the text, the positioning is always related to the master. Remove the override would undo the changes.

Maybe you are looking for