Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Own Effect – UI questions

  • Own Effect – UI questions

    Posted by Florian Weber on August 5, 2012 at 11:27 pm

    Hello,

    So far, I wrote a couple of scripts and I know the basics of Java Script but I’m totally new to developing effects (UI). What I need is basically a user interface to hold some parameters, which are written to a .txt file via a script.

    1. Is there an easy way to hold a string parameter? Can’t find anything in the SDK Guide.

    2. I need some Checkboxes, but only one of them may be checked, while the others get unchecked.

    regards,
    Florian

    Dan Ebberts replied 14 years ago 2 Members · 5 Replies
  • 5 Replies
  • Dan Ebberts

    August 6, 2012 at 12:51 am

    It’s had to tell if you’re talking about the UI for a script or for an effect. For a script you’d reference the JavaScript Tools Guide and for an effect it would be the SDK.

    For a script, there are StaticText and EditText controls. Also, instead of checkboxes, it sounds like you might want a RadioButton control (which only allows one of the items in the list to be selected at a time).

    Dan

  • Florian Weber

    August 6, 2012 at 8:25 pm

    thanks Dan. I was talking about an UI for an effect. What I need is a place to store some meta-Information for a layer. This Information is used to set specific render settings per layer and to create a detailed report after the rendering is finished.

    Sorry for my bad english!

    Florian

  • Dan Ebberts

    August 7, 2012 at 1:27 pm

    I can’t even imagine how you would do all that with a plugin. In any case, read the part of the SDK guide about sequence data. I guess that would be where you would save per-layer stuff.

    Dan

  • Florian Weber

    August 7, 2012 at 9:27 pm

    I think it’s still unclear what I want. I think it’s much simpler. Here is an example. Let’s ignore the report part for that.

    I got a lot of layers in one comp. Each layer has to be rendered separately with different render settings (for example: interlaced/progressive). All I need is an attribute on each layer to let the render script decide whether a layer has to be rendered interlaced or progressive. I could do that by checking the label color, the first character of the name or look at an applied effect. For example, a simple slider could do that. (0= interlaced; 1=progressive).

    All I’m looking for is an option to create my own „effect“ which says interlaced/progressive in a dropdown/radio button menue.

  • Dan Ebberts

    August 7, 2012 at 9:50 pm

    I hate to suggest this, but it sounds like your best bet might be to hack the PresetEffects file to create a psuedo effect. Just search for it in this forum’s archives.

    Dan

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