Sg2.9
locking a layer
Recent RSS
locking a layer
Date:  2. May 2006, 18:45

The following code doesn't lock the active layer.
It also doesn't produce an error..

activeDocument.activeLayer.locked=true

Printing the current locked value of the layer does work:

print(activeDocument.activeLayer.locked)
Re: locking a layer
From:  Jürg Lehni
Date:  29. September 2006, 21:39

Fixed in the upcoming version 2.0.018.

Scripts
26.04.12, 16:05
19.04.12, 16:54
07.04.12, 16:17
05.04.12, 00:49
15.03.12, 13:02
14.02.12, 19:00
Posts
21.05.12, 22:40
20.05.12, 20:22
19.05.12, 21:38
19.05.12, 13:43
15.05.12, 02:38
15.05.12, 01:51
Script of the Moment
Variator 08.01.12
Donation

If you use Scriptographer regularly or for commercial purposes, please consider making a donation via PayPal:

Thank you!