Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Adding more than one slider control to a slider control??

  • Adding more than one slider control to a slider control??

    Posted by Paul Roper on February 1, 2012 at 9:36 pm

    Hello,

    I was wondering how I can add a multiple-slider control, like the one created if I add the “Fade In+Out” Animation Preset (which looks like this):

    The normal Expression Control > Slider just adds one slider per…slider – if you get what I mean:

    ….or would creation of such a slider involve scripting and such, which would not be worth the hassle?

    Thanks,

    Paul

    Dan Ebberts replied 14 years, 3 months ago 3 Members · 5 Replies
  • 5 Replies
  • Dan Ebberts

    February 1, 2012 at 10:33 pm

    It involves hacking the PresetEffects.xml file. You can do it, but it’s kind of ugly.

    Dan

  • Paul Roper

    February 1, 2012 at 10:40 pm

    Bah…never mind! I’ll stick to my lots-of-one-slider-sliders for now!

    Thanks Dan!

    – Paul

  • Anders Hattne

    February 1, 2012 at 11:04 pm

    What about CustomEffects? Maltannon.com looks into that in some tutorial. Might be useful..
    hmm seems like it mentions the file Dan Ebberts mentioned !!
    https://maltaannon.com/what-customeffects-are/

    http://www.ardillamedia.com

  • Paul Roper

    February 1, 2012 at 11:30 pm

    I had a nose through that file – it’s got all kinds of weird and wonderful stuff in, like:

    Getting Jiggy
    Funky Chicken
    Hopscotch

    Fascinating!!!??

    Effect matchname="ADBE Getting Jiggy" name="$$$/AE/Preset/GettingJiggy=Getting Jiggy">
    Slider name="$$$/AE/Preset/OhBoy1=Oh Boy 1" default="5" valid_min="-50" valid_max="50"/>
    Slider name="$$$/AE/Preset/OhBoy2=Oh Boy 2" default="5" valid_min="-50" valid_max="50" slider_min="2" slider_max="8"/>
    Slider name="$$$/AE/Preset/OhBoyPercent=Oh Boy Percent" DISPLAY_PERCENT="true" default="50" valid_min="0" valid_max="100"/>
    Slider name="$$$/AE/Preset/OhBoyPixel=Oh Boy Pixel" DISPLAY_PIXEL="true" default=".5" valid_min="0" valid_max="1"/>
    Layer name="$$$/AE/Preset/FollowLayer=Follow Layer"/>
    Color name="$$$/AE/Preset/Hopscotch=Hopscotch" default_red="128" default_green="64" default_blue="192"/>
    Point name="$$$/AE/Preset/CenterPoint=Center Point"/>
    Point name="$$$/AE/Preset/LeftEdgePoint=Left Edge Point" default_x="0.0" default_y="0.5"/>
    Group name="$$$/AE/Preset/Jig=Jig">
    Checkbox name="$$$/AE/Preset/EnableJig=Enable Jig" default="true"/>
    Angle name="$$$/AE/Preset/JigAngle=Jig Angle" default="10"/>
    Group name="$$$/AE/Preset/FunkyChicken=Funky Chicken">
    Checkbox name="$$$/AE/Preset/EnableFunkyChicken=Enable Funky Chicken" default="false" CANNOT_TIME_VARY="false"/>
    Angle name="$$$/AE/Preset/FunkyChickenAngle=Funky Chicken Angle" default="20"/>

  • Dan Ebberts

    February 1, 2012 at 11:37 pm

    Yeah, it’s designed to encapsulate controls for presets that ship with AE. If you mess with it, be sure to save a backup copy first and be VERY careful with your syntax.

    Dan

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