ExtendScript running to "Apply Master Pages"

Hello editors,.

In the Toolbox for extendscipt Data Explorer, I don't see an option to apply templates to a document (as in Format-> Page Layout-> apply Master Pages...).

Should this function not any? Am I missing something?

Thank you in advance!

Hi Roman,

The return code is always 0 for Fcodes and is not FA_errno either. In other words, just assume that the command really worked, or find a way to check all the documents after you run the ApplyMasterPages command to make sure the result is what you want.

To see if it really works, create a document with a few pages, set the rules in the StructMasterPageMaps (for structured documents) or the table of UnStructMasterPageMaps, then run the command apply Master Pages via the menu and see what the document looks like. Then manually cancel one or several pages of body in the document, and then run the ExtendScript and check the result.

Good luck

Jang

Tags: Adobe FrameMaker

Similar Questions

  • How to apply master pages across sections or whole

    This is a very basic problem that I'm not easily find the answer in the research. I have to apply master pages and consistently, no matter how, I format the query, am advised: "one or more of the specified pages aren't valid page names." So please give an example of how the page/section names are supposed to be written for:

    A book of 100 pages with article 1;

    A book of 100 pages with article 2;

    Application of the changes to the master page to only one paragraph of the book (pages 50-75).

    I know this is similar to "Sec1: 1-100 ', but not exactly the same thing.

    OK, I think I begin to understand what you are doing. You try to use the menu of the Pages Palette to apply a Master Page to a range? You must include the section number for two pages, like this: Sec1:1 - Sec1:100.

    You can also select the pages in the range first, then use the command master apply. It's perhaps easier.

  • Applying master pages, the work is lost

    While he was trying to apply a temporary change of master pages in a book that was almost finished, CS3 seized and closed. Reopened and try to undo the changes, but the work went it seems.

    I don't see my work after this change and cannot cancel.

    I was intending to apply some guiding principles through the entire book through master pages. Indvertantly, there was a new block of text in the whole page with applied wrap around her, and then by applying master to the rest of the book, all the work of text has been pushed back because of the new block of text in the master with dressing applied to it.

    I returned masters, removed the text block and attempted to apply this additional pages with dressing. It may still work.

    Please go to the format (i.e. apply to the Sec1:1 - 100) to apply master pages. My notes are lost and it is not detailed in the help section correctly, although here somewhere on the forum I'm sure. I have

    If you have a book of 100 pages and you want to apply the changes across the entire book, which form is correct:

    Sec1:1 - 100

    or

    Sec1:1 - Sec1:100

    or

    ?

    The accident is probably not connected to master pages (although there was some sort of bug, perhaps with masters of several columns, but I can't remember which version it was in). First, CS3 is connected to the channel 5.0.4? Second, have you tried to export to .inx to clean the file? See remove minor corruption by exporting

    This kind of behavior is also not rare if you have a bad policy.

  • Applying Master Pages

    I created a new project and created multiple master pages with elements, such as headers and lines running to. But, when I apply a master to a page where I want anything to show, using the [none] selection lines are still present on the page I apply it.

    Thank you.

    This element of the line crosses the spread on your master page?

    If it is a straight line, just break in half to the gutter. Any element that runs through the middle of a page, master page, is considered to be part of the master page (even by the smallest amount)

    So, if you put a blank template to the left page or a spread right you will continue to see everything that is superimposed on the master page in the face.

  • Apply Master Page to a single page in a multi-page form

    Hello

    I have three master pages, one for odd pages, one for even pages and which should be applied on the third page. The third page is a page layout sank. But I want to apply the master page, third only to the third page. How do I get there?

    Thank you

    Hello

    Under the tab pagination of the palette object of the subform that (or page) is to go to page three, you can select "place" the "on the page", then all that you have called the master of the third page (page 3 by default).

    Concerning

    Bruce

  • applying master pages to the pages of the document, can't drag any page icon that the hand tool loose when I move my mouse.

    I am a student at the University of anchorage Alaska system.

    I am a student in inDesign adobe cs6 with the classroom in a book, I'm going through the book and have a problem with a long head.

    When mastering pages and I'm trying to drag and drop the page icon mastered to pages of documents icon the little hand loose when I move my mouse.

    Similarly, when I drag and drop a page icon to another icon of documents documents hand let go when I move my mouse.

    I restarted saved and recreated my documents, that nothing seems to solve the problem

    Help!

    I am running an hp Pavilion AMD APU A10 - 5750M with clocked at 2.5 ghz, Radeon HD graphics card

    I have 8 GB of ram 64 bit op X 64 based processor, I have a 750 GB drive with more than 60% free space

    I believe that my system can handle CS6

    win 8.1 current as of 02/05/2015

    My problem was that when I take and drag the page contained in the pages Panel icon, then place the cursor on the page icon of the document I wanted to apply mastering too.
    It did not show the hand with the icon of the master, or the border turn dark, waiting for the fall to apply the format of mask, hand became the pointer.

    I followed a suggestion to viola "remove-reboot-re install - restart" it works now!

    Unknown problem with the first installation

  • Apply master page

    Hello

    I have a task to do in javaScript, I'll explain here,

    If I find a style (paragraph Style) .indd file, page that contains must replace with speciefied Masterpage which i m mentioning in my script.

    Please let me know an idea or a technical problem.

    Thank you

    Christy

    Check out this old thread with my experimental script for this.

  • How to apply a master page to several documents at the same time?

    How to apply a master page to several documents at the same time?

    > The format of the page master is get imported, but the first page of all documents still remain with the format of page master default 'right '.

    AMP?

    Some content is unique to the first page mapped on master page first in the table to:
    View > reference Pages... MasterPageMaps

    That page and table do not exist by default, incidentally.

    and you make a:

    Format > Page layout > apply Master Pages

    After doing the import?

  • Fireworks master page adapts to the he's happy and apply to only a few selected pages?

    Hi all!

    I use the PNG Fireworks format to save all the pages of the websites that I build. However, when I apply a master page in a Fireworks project, all subsequent pages have this applied master page. Sometimes it is necessary to have a page without the master page applied to it, but I can't seem to find how to do this.

    Another difficulty, I fell on that is not be able to make the master page to adjust to its content, just like regions editable in Dreamweaver model, for those who know what it is. Is it possible to do in Fireworks?

    Greetings,

    Casal André

    André,

    Regarding your first question, we could think that the drop down menu panel Pages might have a command that you would release a selected page of the master, but apparently not. However, if you select the page and go to the layers panel, you can display the Master Page layer in the bottom of the stack. You can set the visibility of the layer or its components, or go to the menu drop-down in the layers panel and choose Delete Master Page layer.

    Regarding the second question, I don't think that it is possible for a page master to "adapt to its content. Per, I'm guessing that you mean to respond fluidly to the other elements on the page, whether they are long or short, etc. It is a property of the web pages, where everything is "outstanding". But Fireworks uses a different system.

    I'm still new to the feature Pages myself, but have you tried the options "Share layer" menu drop-down in the layers panel? These could offer some of the benefits of the feature of the master page, but with more flexibility. The symbols are also something to consider when you want to repeat the elements in a document.

  • How to create the new page in the master page and make reference to the reference text framework previous page id?

    I have problem to apply/create an element of the master page and how to run the previos page text block to create the page text

    InterfacePtr<IPageSetupPrefs> iPageSetupPrefs (,static_cast<IPageSetupPrefs * > (:QueryPreferences() IID_IPAGEPREFERENCES, docRef)));

    if (iPageSetupPrefs is nil) {

    Assert (iPageSetupPrefs);

      break

    }

    InterfacePtr<ICommand> iNewPageCmd (CmdUtils:kNewPageCmdBossCreateCommand());

    if (iNewPageCmd is nil) {

    Assert (iNewPageCmd);

      break

    }

    InterfacePtr<IApplyMasterCmdData> iApplyMasterCmdData (iNewPageCmd, IID_IAPPLYMASTERCMDDATA );

    if (iApplyMasterCmdData is nil) {

    Assert (iPageCmdData);

      break

    }

    InterfacePtr<IPageCmdData> iPageCmdData (iNewPageCmd,UseDefaultIID());

    if (iPageCmdData is nil) {

    Assert (iPageCmdData);

      break

    }

    Int32 numPagesToInsert = 1;

    PMRect pageSizeRect = iPageSetupPrefs->GetPageSizePref();

    Int32 pos = iPageCmdData->GetNewPageInsertPosition();

    ISpreadGeometry InterfacePtr<IGeometry> (spreadList->QueryNthSpread(0));

    if (iSpreadGeometry is nil) {

    Assert (iSpreadGeometry);

      break

    }

    spreadUIDRef =:GetUIDRef(iSpreadGeometry);

    PMRect dfltPMRectPageSize = iPageSetupPrefs->GetPageSizePref();

    PMReal pageWidth is dfltPMRectPageSize. Right () - dfltPMRectPageSize. Left ();

    PMReal pageHeight is dfltPMRectPageSize. Bottom () - dfltPMRectPageSize. Back to top ();

    PMRect usrDefPMRectPageSize (0, 0, pageWidth, pageHeight);

    K2Vector< PMRect> pageBoundingBoxes;

    for ( int32 i = 0; i < numPagesToInsert; ++ i) {

    pageBoundingBoxes. push_back (usrDefPMRectPageSize);

    }

    iPageCmdData->SetNewPageCmdData(spreadUIDRef, numPagesToInsert, pos +1, & pageBoundingBoxes, nil);

    / / CreateSpreadFromSpread (docRef, spreadUIDRef);

    InterfacePtr<IBoolData> iBoolData (iNewPageCmd,UseDefaultIID());

    if (iBoolData is nil) {

    Assert (iBoolData);

      break

    }

    bool16 allowShuffle;

    if (this->GetShufflePref(allowShuffle, docRef) iskFailure) {

      break

    }

    iBoolData->Set(allowShuffle);

    CmdUtils:ProcessCommand(iNewPageCmd);

    Above code, able to create a page but the problem in applied master page?

    Using document Pages face?

    I think that your posToInsertAt for IPageCmdData::Set is incorrect.

    If the doc does not have facing Pages, posToInsertAt = 1;

    If doc is facing Pages and page insertion is the left-hand Page, posToInsertAt = 2;

    If doc is facing Pages and insert page is the right Page, posToInsertAt = 1;

    posToInsertAt = spread-> GetNumPages();

    newDocCmd and newDocCmdData are not used, you can delete these.

  • Blocks of text on the Master Pages with CS3?

    I produce a catalog in CS3 on my Mac using OS Mavericks.

    I put in place of master pages with square 6 graphic blocks on each page. Each of them has a CAPTION below, in which I put up as a block of text. I clicked on "Apply Master pages", but when I go to the blocks of text pages are not displayed to the top. The only way I can enter captions on pages is by creating new blocks of text, 6 on each page, which is very tedious and time consuming. What I am doing wrong?

    Thank you.

    Welll...

    As bob says it is not Quark where you can just click to type in a main frame, but you CAN Cmd + Shift + click to override the main chassis and type in it. You might be better off, however, with a framework prédimensionnée and style in a library that you can drag onto the page and position. My feeling on frameworks masters get substitution is that they probably shouldn't be on the master page at all.

  • Master Page use problem?

    Hi all

    I have created Master Pages, as shown in the image below. normal use Master Page are left/right.

    But for the current Document, all master pages should be wide right & left wide.

    Is there a way to set up Master Pages, so that it starts right off and then goes wide left and then repeats this process?

    Or do I have to set manually, every page right right wide and each left wide left page?

    Thank you.

    Hi FieryPantone,

    Thanks for your reply. Format > Page Layout > apply master pages actually resets all pages to the default left/right Page.

    So what I did was to Format > Page Layout > Master Page use, then applied Custom wide left on all of the Pages on the leftof the currently used.

    And then returned to Format > Page Layout > Master Page use, then applied Custom wide right to all the currently used Law Pages.

    It worked. I repeated this process if necessary.

    Thanks for your reply. He likes a lot.

  • Master pages does not

    I'm editing a document, InDesign (2014 cc). I changed the master pages. I "applied" these master pages in my document pages. And,..., nothing happens. What happens here? Why document pages do not reflect the changes to the master pages? I "applied" master pages several times intant. The placement of all the text boxes remain the same, that it was.

    Thank you

    Peter

    When you place content in a frame master he is automatically overridden on the document page, and any changes made to it will lose their link to the page master. If all you do is text, then you would lose the link to text attributes in the main storyline, but other changes should stay linked. If you are also changing the geometry or the position of the frame after you add the text, you would lose the connections geometyr and position and this kind of chang on the mast would result is no longer in the pages of existing document.

  • Frame12 include master page or page reference objects in the HTML Help output?

    Hi, I'm looking for a copy of FrameMaker 12.

    While I can do a lot with the settings available in the dialog box publish, there still doesn't seem to be possible to include objects from Master Pages or reference Pages in CHM output?

    When you use TechCommSuite, I can work around this by applying "Master Pages" within RoboHelp (for example to add a standard footer to each theme and with a small logo of declaration and copyright society).

    It's not like there's a way to do it with the command post of Frame12? Or am I missing something?

    David,

    If you look in the outputs > General properties of the publication settings page, there is now an option to import the HTML template file. The option type of works in a way bass-ackwards, you click on the box first, then you get a window to select the file and then you must click on the button import.

  • 'Room for the heads side' on the Master Pages does not not on body pages.

    In a new document, I created master pages, each with a text frame type of the "model for Page body text, frame 'each with the same tag stream."

    For each block of text, I enabled property of "heads of Lounge next door.

    When I apply master pages to the body of the document (Format > Page Layout > Master Page use > Use Master Page: > Apply), the property of "heads of salon for side" disappears.

    Does anyone know why my text frames do not follow the format of applied master page?

    I use Framemaker 11.

    > For each block of text, I enabled property of "heads of Lounge next door.

    If I remember a recent discussion, you must enable that via:

    Format > Page layout > column layout

    [*] The heads side room

    and it is a document, not just for chosen setting the Master Pages.

Maybe you are looking for

  • Second HDD in Satellite X 200-21 K (PSPBUE)

    I am looking for information on installing the second HARD drive in my laptop. Laptop has a Bay "void/replacement part" for the second HARD drive, but there is no connector of drive in the Bay. Therefore, there is no easy way to upgrade. So I looked

  • How to identify the images in photo

    Relatively new to a MAC and very new to the Photos. When I import photos from an SD card in 'Photos', the file name is not (JPEG) is not displayed on the thumbnails. I've tried everything. I can't understand how to go through hundreds of photos and c

  • Live in DC Sweep analysis display

    Hello world Some of you are perhaps more experienced in this quiestion than me... In a certain circuit having a wine input signal and an output signal Vout, is it possible to display the phase shift between two signals vs wine? (sweep the amplitude o

  • Windows Update has had the BAD update for my computer!

    Windows Xp Pro 32 bit, ie8. There was an update of the optional equipment, Trendnet ethernet adapter. I installed it. I lost my internet connection. I reinstalled my ethernet realtek card and my internet back. I realize, it's an optional update, but

  • Issue of Internet speed?

    Hello!My internet speed from my provider is not 1 Mbps and my download speed is around 130-140 kbps depends on the place where im downloading of. So, the question I would ask is:If my (max. 54 Mbps) wireless signal is low as only 7 to 10 Mbps will I