I have the line of code:
this.Document.pages.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.
Retrieving data ...