Forum Replies Created

Page 1 of 2
  • You’re the greatest of all time.
    Works like a charm.

    BIG THANKS!

  • Sorry, my bad.

    The first expression doesn’t do that:

    “time hit the first marker and animation goes from KFrame1—K2—K1, then hit the second marker and again, from K1—K2—K1.”

    but

    animation is 10f long, so, time goes 10f before the marker, animation start from K1, then when hit the marker animation is on K2 value and then 10f later on the K1.
    So it’s pretty like:
    00——10(M)—-20
    K1——K2———K1

  • Thanks Dan.

    The first expression you posted do (more or less) what I want.
    The issue is that the In and Out are consequential:
    time hit the first marker and animation goes from KFrame1—K2—K1, then hit the second marker and again, from K1—K2—K1.

    What I would like is:
    time hit the first marker: animation goes from K1—K2 then stay to K2 position/scale/rotation value until time hit the second marker, then the animation goes to K2—K1.

    (Sorry for my bad english, it’s not my native language)

  • Dario De angelis

    May 30, 2019 at 5:23 pm in reply to: Exclude last word from a sentence.

    Works well.

    Only as a learn purpose, it is an if/else expression with 3 variables:
    – More than 2 word name: use the 1st and the 2nd words
    – 2 word name: use only 1st
    – 1 word name: use it

    Right?

  • Found it!


    text_array1 = comp("TEXTS").layer("MAIN TEXT CONTROL").text.sourceText.toUpperCase().split(" ");
    try
    {
    text_array1[1]+" "+ text_array1[2];
    }
    catch(e) {
    text_array1[1];
    }

  • Thank you Dan;

    For now it works better to add

    .split(" ")[1]

    at the end of my text; so the final expression is:
    comp("TEXT").layer("MAIN TEXT CONTROL").text.sourceText.toUpperCase().split(" ")[1]

    that for the example MAIN TEXT: “LeBron James” gave me only “James” as result

    but now, I have problem with the surname that has more than 1 words as example: “Micheal De Vito”; with this kind of surname the expression gave me only “De” as result but I need to show the full surname “De Vito”. How can i fix it?

  • Dario De angelis

    September 28, 2016 at 2:37 pm in reply to: Script to import footage’s folder in a Composition.

    Not so much familiarity, i’m trying in these day to experiment with expressions and scripts.

    I know that my code imports only a single file, but I don’t know how to change the path to import all folder files (if I don’t write “MYFILE.MOV” at the end of the path, it give me path’s error).

    I will try to follow your instruction.

  • Dario De angelis

    September 28, 2016 at 2:20 pm in reply to: Script to import footage’s folder in a Composition.

    I don’t need to determine the order; the lenght and the framerate are pre-set (the footages are some shots of football players on green screen).

    I only need to know if there is an expression/script that, in case, I could apply to display or not the layers if their filename match with text.

    What I would do is to create a template where I only need to put the file in my directory and write the filename on my text layer to display it.
    (Now I used to apply to every footage an opacity’s expressions to display it in case the name match)

    So I thinked to this solution.

  • Dario De angelis

    September 26, 2016 at 8:11 pm in reply to: Change color with text in Premiere (Dynamic Link)

    Thank you so much!

Page 1 of 2

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