Forum Replies Created

Page 8 of 13
  • Yoan Boisjoli

    May 4, 2023 at 7:29 pm in reply to: Counter – no moving text + no monospace

    So far my template runs well.
    Of course I would have wish for doing everything on one layer but 2 layers works for me here.

    But in a nutshell this is what I did:

    1. Created two layers: one for text and one for numbers.
    2. Used an expression selector to hide numbers on the text layer and everything except numbers on the number layer.
    3. Set up a main text layer to detect and animate numbers to count up.
    4. Set the text layer to be equal to the main layer at the 3 second mark using valueAtTime(3), so the animation is complete and the text doesn’t move around when the numbers are animated.
    5. Added a feature to ignore numbers within a certain character.
  • Yoan Boisjoli

    April 26, 2023 at 10:44 am in reply to: Counter – no moving text + no monospace

    Sounds like a good idea. I’ll have to make some tests. I’m curious to see how to implement your idea.

    It would be great to find a solution. In my work around mentioned above, I ended up adding a padding to the numbers so if there is more than one number, the final spacing is already there for the words around the number.


    I’ll share my Ae file if you want.

  • I’ve made a feature request here. If you think this would be useful, I invite you to vote for it.

    https://community.adobe.com/t5/after-effects-ideas/multiple-text-styles-via-expressions-on-a-single-text-layer/idi-p/13751614#M2027

  • I’ve made a feature request here. If you think this would be useful, I invite you to vote for it.

    https://community.adobe.com/t5/after-effects-ideas/multiple-text-styles-via-expressions-on-a-single-text-layer/idi-p/13751614#M2027

  • Yoan Boisjoli

    April 25, 2023 at 8:51 pm in reply to: MultiStyle text in one Text Layers

    I’ve made a feature request here. If you think this would be useful, I invite you to vote for it.

    https://community.adobe.com/t5/after-effects-ideas/multiple-text-styles-via-expressions-on-a-single-text-layer/idi-p/13751614#M2027

  • Yoan Boisjoli

    April 12, 2023 at 2:21 pm in reply to: Counter – no moving text + no monospace

    I discovered a solution involving two layers. The first layer conceals numbers, while the second layer displays every alternate character. These layers are then combined. The second layer uses an expression to sample the source text at the 3-second mark once the animation is complete.

  • Yoan Boisjoli

    April 12, 2023 at 12:45 am in reply to: Building responsive bullet lists

    Hi Jenhadley!

    If you don’t want to mess with expressions, you could always check the script Pins & Boxes. It’s a very useful script that I use very often in these situations.

    If you wanna do it by expressions, let us know and we’ll think of something for sure!

  • Yoan Boisjoli

    April 7, 2023 at 1:42 am in reply to: Motion Blur over a short clip possible?

    Hi Matt!

    I don’t have a visual to help me see clearly what you’re after but maybe you could look into Reel Smart Motion Blur (RSMB) it’s a plug-in effect that makes realistic motion blur on top of footage.

  • Hi Christian! I think you can add this expression to you color property and it should do the trick:

    hexColorSource = thisComp.layer("Hidden text").text.sourceText;

    hexColor = hexColorSource.value.toString();

    r = parseInt(hexColor.substring(0, 2), 16) / 255;

    g = parseInt(hexColor.substring(2, 4), 16) / 255;

    b = parseInt(hexColor.substring(4, 6), 16) / 255;

    [r, g, b, 1]

  • I manage to obtain the result that I wanted by checking if the layer is 2D or 3D and manually targeting scale, position and anchor point. But if I select an effect’s property, I still have to figure out how to let the script know about it. Right now I’m manually putting the index of the effect’s property.

    Here’s what I have so far:

    function getPropertyValuesCount() {

    var activeItem = app.project.activeItem;

    if (!activeItem || !(activeItem instanceof CompItem)) {

    alert("Please select a composition.");

    return;

    }

    var selectedLayers = activeItem.selectedLayers;

    if (selectedLayers.length === 0) {

    alert("Please select a layer.");

    return;

    }

    var selectedProperties = selectedLayers[0].selectedProperties;

    if (selectedProperties.length === 0) {

    alert("Please select a property.");

    return;

    }

    var property = selectedProperties[0];

    var layer = selectedLayers[0];

    var valuesCount = 0;

    var is3DLayer = layer.threeDLayer;

    var isEffectProperty = property.propertyGroup(1).matchName.indexOf("ADBE Effect Parade");

    if (property.propertyValueType !== PropertyValueType.NO_VALUE) {

    try {

    if (property.value && property.value.length) {

    valuesCount = property.value.length;

    // Check if the layer is 2D and the selected property is either Position or Scale

    if (!is3DLayer && (property.matchName === "ADBE Position" || property.matchName === "ADBE Scale" || property.matchName === "ADBE Anchor Point")) {

    valuesCount = 2;

    }

    // Check if the property is within an effect and has two values

    if (isEffectProperty && valuesCount === 1 && typeof property.value[1] !== "undefined") {

    valuesCount = 2;

    }

    } else {

    valuesCount = 1;

    }

    } catch (e) {

    alert(e.message);

    return;

    }

    } else {

    alert("The selected property has no value.");

    return;

    }

    alert(valuesCount);

    }

    getPropertyValuesCount();

Page 8 of 13

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