Forum Replies Created

  • Francois Germain

    March 9, 2015 at 6:37 pm in reply to: What’s wrong with my script?

    Hey I just found it!

    var myWindow=new Window(“dialog“,”My Window”);

    it is supposed to be window or palette

    Thanks anyway guys

  • Francois Germain

    November 28, 2013 at 8:55 pm in reply to: color Label expression question

    Thanks Dan. But I wanted to control what happens in comps from the project window. I’ll write something in the name of each comp, so it could be detected by an expression and do the job that I want.

  • Francois Germain

    June 19, 2012 at 2:41 pm in reply to: Analog counter expression…

    Hey I’ve found it.

    If you follow the odometer tutorial from Aharon Rabinowitz
    https://library.creativecow.net/articles/rabinowitz_aharon/Odometer_2/video-tutorial

    there’s the expression you put in the Offset effect (shift to center property)
    Depending of the digit, you have to modify the start_value and the End_value. Hope someone will use it.

    variableSlider =thisComp.layer("master compteur").effect("Slider Control")("Slider");// this line depends of your layer's name of course;

    digit1 = Math.floor(variableSlider%10);
    digit2 = Math.floor(variableSlider/10);
    digit3 = Math.floor(variableSlider/100);
    digit4 = Math.floor(variableSlider/1000);
    digit5 = Math.floor(variableSlider/10000);
    digit6 = Math.floor(variableSlider/100000);
    digit7 = Math.floor(variableSlider/1000000);

    start_value=digit2;
    end_value=digit2+1;
    space_between_numbers=192
    column_height=1920
    offset=thisComp.layer("master compteur").effect("Slider Control")("Slider")%10;
    y=value[1];
    x=linear(offset,9,10,start_value,end_value);
    [x*space_between_numbers%column_height,y]

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