how do you set shortcut for lock the current layer? Topic is solved

Please use this part to report bugs & errors, ask questions & "How to..."
Post Reply
User avatar
Markxu
Posts: 14
Joined: 26 Jun 2021, 09:25
Contact:

how do you set shortcut for lock the current layer?

Post by Markxu »

I can't find it in the shortcut panal :?
Mark.Mou
Svengali
Posts: 1552
Joined: 28 Dec 2006, 10:08

Re: how do you set shortcut for lock the current layer?

Post by Svengali »

I don't think the shortcut key you are looking for exists, try this:

You can use GEORGE scripting to create a button that will toggle the layer lock... then you can assign a shortcut key to it like this:

1. Choose an existing Custom Panel and create a new button in the panel using Add Action.
2. Edit the button for the Action and Name it Toggle Layer Lock
3. While still in the editor you can click to create an Embedded George Script with three GEORGE Script lines:

IN THE EMBEDDED GEORGE SCRIPT WINDOW TYPE THE FOLLOWING:
line one: tv_LayerCurrentID
line two: LayerID = result
line three: tv_LayerLock LayerID TOGGLE

4. press OK - That button can now be called by assigning it to a shortcut key.
5. Open the Configure Keyboard Shortcuts window
6. Select the shortcut key you want to use (which should become highighted)
7. In the search option at the top of the Shortcuts window, type in Toggle Layer Lock
8. Select the newly created button's name Toggle Layer Lock (which will show up in the list underneath the Custom Panel's name where the button was created.)
9. Click the assign button and press OK to close the Configure Keyboard Shortcuts window.

Now, you can toggle the current layer's Lock on and off using the assigned shortcut key.

sven
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
Post Reply