: Illustrator: lock/unlock current layer via keyboard shortcut? Is it possible to toggle the locked/unlocked state of the current layer via keyboard shortcut? I'd love to be able to toggle show/hide
Is it possible to toggle the locked/unlocked state of the current layer via keyboard shortcut? I'd love to be able to toggle show/hide for layers as well.
More posts by @Courtney577
2 Comments
Sorted by latest first Latest Oldest Best
here's a one-liner script that toggles active layer visibility
app.activeDocument.activeLayer.visible ^= 1;
this other one-liner toggles lock/unlock
app.activeDocument.activeLayer.locked ^= 1;
install those 2 scripts into your default scripts folder, then create two actions to run them, assign them shortcut keys and you're all set.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.