Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Apply a preset to a specific layer depending on drop down selection

  • Apply a preset to a specific layer depending on drop down selection

    Posted by Matt Volp on May 9, 2017 at 9:58 am

    So, I have a drop down box created by a pseudo effect plugin.

    It’s options are:
    1. None
    2. Preset 1
    3. Preset 2

    I 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?

    Xavier Gomez replied 9 years ago 2 Members · 1 Reply
  • 1 Reply

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy