-
Apply a preset to a specific layer depending on drop down selection
So, I have a drop down box created by a pseudo effect plugin.
It’s options are:
1. None
2. Preset 1
3. Preset 2I want to know whether it is possible, through the use of a switch statement, to apply a custom preset to another layer when either option 2 or 3 is chosen. When none is chosen, I want nothing to happen.
The custom presets are stored in the Adobe presets folder.
So far I have the following switch statement:
var num = effect(“Design Preset”)(“Popup”).value;
switch(num){case 1:
//nothing
break;
case 2:
//apply preset 1
break;
case 3:
//apply preset 2
break;
}Is this possible?