1 Reply Latest reply on Jun 9, 2012 12:26 AM by Laubender

    columnCount question

    rick_schwein Level 1

      What does the property app.documents[0].marginPreferences.columnCount refer to?

       

      It's valid but changing the value doesn't change the display of anything I can see.

       

      It's not the number of columns that display on thepage.  That property is

      app.activeDocument.pages[0].marginPreferences.columnCount

       

      Thanks for helping me understand the DOM ...

        • 1. Re: columnCount question
          Laubender Adobe Community Professional & MVP

          @Rick – you can use that property to pre-define the column count for new master spreads.

           

          Example:

           

          app.documents[0].marginPreferences.columnCount = 4;
          app.documents[0].masterSpreads.add();
          

           

          The added master spread should have 4 columns.

           

          Uwe

          1 person found this helpful