1 Reply Latest reply on Oct 3, 2008 3:02 PM by sstanleyau

    Get Page numbers of each page a master page is used on

      I am trying to get all the page numbers a specific master page is used on, then delete those pages. I have no idea how to do this, I keep deleting all the pages in my document.

      set _index to {}
      tell application "Adobe InDesign CS2"
      tell document 1
      set _master to master spread "B-Bob" -- Master page name
      set _index to id of pages of _master
      end tell
      end tell
      _index

      Any ideas would be appreciated.