I have a story that I would like to lock. It consists of a number of text-frames one-on-each-page. I cannot loop through the pages (and lock each frame separately), because the text of the story is placed, and ID does not add the additional pages until later.
So, how can I lock the whole story (preferably at once)/
Any help would be appreciated
Other than through its text frames, there seems to be no option to 'lock' a story.
(And locking a text frame does not inhibit someone from editing the text.)
If the story runs on pages 6 to 9, could we use this?
app.documents.pages.itemByRange(5,8).pageItems.everyItem().locked = true;
Yes, but it would still only lock the frames - and not the text itself. You can even lock only some of the frames, it don't matter either way.