Applying the layer protection permanently by exporting a protected VST3 preset cannot be undone. For this reason, you should always keep a backup of the unprotected program.
Setting the Layer Protection
- In the Program Tree, right-click the column header and select Layer Protection. The column for setting the layer protection is added to the Program Tree. An open lock is displayed next to each layer, indicating that the layers are not protected yet.
- Click the lock icon on the layer you want to protect. A dialog opens for entering the password for the layer protection.
- Enter a password in the text field. You must enter a password each time you protect a layer. You are free to use the same or different passwords for each of the layers.
- Click OK to engage the layer protection.
The layer protection is engaged if the lock next to the layer is closed. If a child layer is protected through a parent layer, its lock will turn light grey to indicate this. To disengage the layer protection, click the lock of this layer to reopen it. This resets the password of the layer. To apply the layer protection permanently, you must export a protected version of the program.
Applying the Layer Protection
Applying the layer protection cannot be undone. Please keep a backup of the unprotected program if you need to edit the layers at a later stage.
- Right-click in the Program Tree and go to the Import/Export submenu.
- Select Export Program as Protected VST3 Preset...
- In the file dialog, choose a location and file name.
- Click Save to export the program and apply the layer protection permanently. Click Cancel to close the dialog without exporting the program and applying the layer protection.
When you load the exported program, the protected layers cannot be accessed anymore in the Program Tree.
Accessing Protected Layers from a Script
By default, protected layers cannot be accessed by scripts. The parameters of a protected layer and any elements inside of it are hidden for scripts. This avoids unauthorized parsing of the Program Tree to retrieve hidden information. A script can access protected layers only by calling the function addLayerPassword with the correct password for the corresponding layers.
Example
--access the protected layer(s) which have the password "abc123" addLayerPassword("abc123")
To hide the password in addLayerPassword, you must also protect the script module. See Managing Script Modules for details.
1 Comment
Sabine Pfeifer
proofread done