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
08.01.12, 08:40
08.01.12, 08:18
04.01.12, 11:04
28.12.11, 10:42
16.11.11, 09:40
28.10.11, 10:47
Posts
06.02.12, 16:27
04.02.12, 16:55
04.02.12, 16:32
04.02.12, 12:49
03.02.12, 22:33
03.02.12, 17:24
Script of the Moment
Mosaic Staple Raster 24.03.10
Donation

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

Thank you!