Shortcut "lock active layer" ?

New Here ,
Apr 03, 2022 Apr 03, 2022

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

TOPICS
How to , Scripting , Tools

Views

74

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Apr 03, 2022 Apr 03, 2022

Copy link to clipboard

Copied

LATEST

try this to lock the active (highlighted) layer

activeDocument.activeLayer.locked = true;

 

change to false to unlock it

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines