Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Shortcut "lock active layer" ?

Participant ,
Apr 03, 2022 Apr 03, 2022

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


-
www.instagram.com/mugen_labz/
TOPICS
Scripting , Tools
556
Translate
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

correct answers 1 Correct answer

Community Expert , Apr 03, 2022 Apr 03, 2022

try this to lock the active (highlighted) layer

activeDocument.activeLayer.locked = true;

 

change to false to unlock it

Translate
Adobe
Community Expert ,
Apr 03, 2022 Apr 03, 2022

try this to lock the active (highlighted) layer

activeDocument.activeLayer.locked = true;

 

change to false to unlock it

Translate
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
Participant ,
Sep 30, 2022 Sep 30, 2022
LATEST

Works like a charm ! 
Thanks again Carlos 🙂


-
www.instagram.com/mugen_labz/
Translate
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