Forum Replies Created

Viewing 31 - 36 of 36 posts
  • Chris Scalzo

    October 21, 2015 at 7:50 pm

    Currently The odd numbers are pause and I’m starting clip off frozen with marker off top.

  • Chris Scalzo

    October 21, 2015 at 7:49 pm

    My last post didn’t paste correctly. Something weird between Mac and PC text.

    try{
    m = thisLayer.marker;
    i = m.nearestKey(time).index;
    if (m.nearestKey(time).time > time){ i--;}
    if (i < 1) { i = 1};
    if (i%2==1) {marker.key(i).time} else {totaltime}
    }catch(err){0}

  • Chris Scalzo

    October 21, 2015 at 7:42 pm

    I understood this, and that is the part I’m trying to figure out. I wrote this after sending the post, but I still need to write something for calculating totaltime of the odd or even marker differences.

    try{
    m = thisLayer.marker;
    i = m.nearestKey(time).index;
    if (m.nearestKey(time).time > time){ i--;}
    if (i < 1) { i = 1};
    if (i%2==1) {marker.key(i).time} else {totaltime}
    }catch(err){0}

  • Chris Scalzo

    September 24, 2015 at 8:52 pm

    It would be in the /home directory/library/application support/Adobe/common/media cache (and also media cache files). You can get to the home library by holding option key while browsing the go menu in finder (library will be there in the list.

    Note: this is also where after effects will cache by default.

  • Chris Scalzo

    March 16, 2015 at 7:17 pm

    Depending on what you are switching, you can create a precomp with solids labeled for choices and read the results of a layer control. Then you’d only get one of your three choices.

    As an example, I made a precomp named “Pre-comp 1” and three layers named “OPT-1″,”OPT-2” and “OPT-3”.

    With the following expression I can return the value 1, 2 or 3 to change whatever else.

    if (comp(“Pre-comp 1”).layer(“OPT-1”).effect(“Layer Control”)(“Layer”) == comp(“Pre-comp 1”).layer(“OPT-1”)){1};
    if (comp(“Pre-comp 1”).layer(“OPT-1”).effect(“Layer Control”)(“Layer”) == comp(“Pre-comp 1”).layer(“OPT-2”)){2};
    if (comp(“Pre-comp 1”).layer(“OPT-1”).effect(“Layer Control”)(“Layer”) == comp(“Pre-comp 1”).layer(“OPT-3”)){3};

  • Chris Scalzo

    March 16, 2015 at 6:29 pm

    Thank you for the quick response. I spend around two hours searching for a quick solution. What I have now would probably be easier to manipulate for my current needs. I saw a response you made on paths to someone else stating there is little you can read with expressions on a path. I am running 2014.1.1 and was hoping this would have been updated in 2014.1.2 like the text bounds thing. Anyway, thanks again. I have much respect for your content on creativecow. 🙂

Viewing 31 - 36 of 36 posts

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