Unlock page items that come from master pages
I'm working on a project for a PDF document that is also need to be accessible to screen reader users. The document has a folio for some additional information such as the company and department names and the page number.
To solve this problem, I'm working on a script to automatically convert all text in the folio to outline. It turns out that all items on master pages are normally locked to the work page (and locked in a way that cannot be identified by a simple if (item.locked == true).
When I manually unlock the item on the page (cmd + shift + right click on the item) the script works perfectly.
How can I also automate the unlocking of all these items on each of the document pages?
