Forum Replies Created

  • Tom Savage

    July 24, 2020 at 2:27 pm in reply to: Mask size(width x hight)via script

    Xavier did you ever finalize this script or have you seen anything similar. I’m looking to fit masks to something else [like a png or jpeg layer] (layer or the bbox of another mask), scale(%)/resize(px).

    I’m using the same animation for 100 different brands that all sell a similar product (soap) each soap is slightly different width but I have set them all to the same px height via an automation in photoshop to resize all the png images of soap to 1000px height by Variable width. I am programmatically going to swap out the png and the text for each of the 100 brands. The issue is that the mask width is not variable. I found this post where you mentioned the about via a script you wrote that could potentially set the mask to the width of the png layer.

    I also saw you posted the script in a below comment which I am going to dive in on but wanted to see first if you had updated it or if you knew of anything that exists to do this.

  • Hey Brother,

    I am working on a video project where I need to do exactly this process of one word after the other word as outlined in the previous post by Jimmy Corrigan:

    “I was looking for something like this:
    in the middle of the screen there is the word “SUPER”. font size 16pt, font helvetica.
    2seconds later the word “SUPER” will be replaced by the word “POWER” (same font style)
    another two seconds later the word “POWER” will be replaced by the word “AWESOME”…
    (transitions are not necessary. hard cuts would be enough) and so on and so on.”

    The issue I am having is that I don’t know a dam thing about expressions so I’m not sure where to plug and play the information within the expression you provided.

    t = value.split(” “);
    myText = “”;
    for (var i = 0; i < Math.floor(effect(“Word”)(“Slider”)); i++) {
    if (i > 0) myText += ” “;
    myText += t[i];
    }
    myText;

    This is the paragraph of text I need to display words one after another theoretically with a 0.25 second length of time for each word:
    “What is meant for me will come to me effortlessly I accept what comes and what goes I practice non-attachment because I know what is meant to be will be”

    Would there be anyway you could possibly walk me through the process of using this awesome expression you created!?

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