2 Replies Latest reply on Jan 18, 2012 9:46 PM by csm_phil

    About Master Page Overriding.................

    JesRoberts

      Please Explain about Master Page Overriding.......

        • 1. Re: About Master Page Overriding.................
          Green4ever Level 3

          Please ask questions more precisely. I mean which part is confusing to you?

           

          In short: Any thing in the master page is non editable in pages untill you override it.

           

          Green4ever

          • 2. Re: About Master Page Overriding.................
            csm_phil Level 4

            Hi Ramya,

             

            Please try the below JS code is override all master page items.

             

            var myDoc=app.activeDocument;
            MasterPageGroupItemOverride();
            
            function MasterPageGroupItemOverride(){
                 for (p = 0; p < myDoc.pages.length; p++) {
                      var myPageNum = myDoc.pages[p];
                      var myMasterItems = myDoc.pages[p].masterPageItems;
                      for ( m = 0; m < myMasterItems.length; m++) {
                                myMasterItems[m].override(myDoc.pages[p]);
                           }
                      }
                 }
            
            
            

             

             

            If you need do manually override please see the below snapshot.

             

            Picture 1.png

             

            thx