Skip to main content
Known Participant
December 4, 2011
Answered

How to unlock all frames in all pages

  • December 4, 2011
  • 2 replies
  • 3954 views

Dear All,

I am new to scripting in InDesign, I want to unlock all my frames in all pages. After that I have some work to do in all pages then again I want to lock all frames in all pages. Is there any script for that?

1. How to unlock all frames in all pages?

2. How to lock all frames in all pages?

Thanks in Advance.

This topic has been closed for replies.
Correct answer winterm

Premedia Systems offers a free script for this... written for CS3-CS4, but works in 5.5 too.

You can find it here:

http://www.premediasystems.com/Scripts.htm

Caution: it's for ALL ITEMS:

"The script  displays a dialog in which you select whether to lock or unlock all page items, and whether it should apply that choice to the current spread or the entire document."

2 replies

winterm
wintermCorrect answer
Brainiac
December 4, 2011

Premedia Systems offers a free script for this... written for CS3-CS4, but works in 5.5 too.

You can find it here:

http://www.premediasystems.com/Scripts.htm

Caution: it's for ALL ITEMS:

"The script  displays a dialog in which you select whether to lock or unlock all page items, and whether it should apply that choice to the current spread or the entire document."

mr_pathiAuthor
Known Participant
December 5, 2011

hi,

Thanks a lot. Its working fine.

Community Expert
December 4, 2011

myDoc.textFrames.everyItem().locked = false;

Peter