>Shouldn't that be
>app.activeDocument.masterSpreads.item('A-Master').pages(1).search ("^#", false, false, "^#")
Of course not! It should be
app.activeDocument.masterSpreads.item('A-Master').pages.item(1).search ("^#", false, false, "^#")
That's the right-hand page, by the way, if you have two-sided masters. To search the left-hand page, use pages.item(0).
Peter
... View more