1 Reply Latest reply on Nov 4, 2010 6:52 PM by Haakenlid

    Invalid value set for 'appliedMaster'

    Barqx Level 1

      I'm using InDesign CS5


      I have the line of code:

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

      When running, 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?