Copy link to clipboard
Copied
Hello everyone is there a way to lock the current layer with a shortcut ?
I'm aware of the command ctrl + 2 but this is not what I'm looking for.
I'm basically in the process of speeding my workflow and working exclusively with a drawing tablet and shortcuts. and I have to say I'm pretty surprised by the huge amount of basic functions that are not assignable to shortcuts…
so after some research I come here because I don't find any solution and I guess my only way to go with this would be to run a script and then I sing this script activation to a target with a third-party program right ?
and then you had to learn how to code to use illustrator
try this to lock the active (highlighted) layer
activeDocument.activeLayer.locked = true;
change to false to unlock it
Copy link to clipboard
Copied
try this to lock the active (highlighted) layer
activeDocument.activeLayer.locked = true;
change to false to unlock it
Copy link to clipboard
Copied
Works like a charm !
Thanks again Carlos 🙂