0 Replies Latest reply on Oct 25, 2010 9:08 AM by Barqx

    masterSpreads error

    Barqx Level 1

      I have the line of code:

       

      this.Document.pages[0].appliedMaster = this.Document.masterSpreads.itemByName('myName');
      

       

      However, when running from InDesign CS5 Server, I get the error:

      "Invalid value for set property 'appliedMaster'. Expected MasterSpread or NothingEnum enumerator, but received nothing."

       

       

      I looked up the classes and I can't detect any error.

       

       

      Any suggestions?