Forum Replies Created

Page 203 of 277
  • Filip Vandueren

    August 23, 2006 at 7:25 pm in reply to: expression for showing layer marker text

    Hey Aharon,

    the script cannot display whatever is the text of the marker, because like Dan said: reading the text of a marker is broken in the last few versions of After effects.

    The script uses a different method that’s not broken: you can say marker(2) or you can say marker(“2”) to select a marker: the first one selects the 2nd marker, the second one selects the marker who’s text is “2”

    So if you check all possible names a marker could have, and see if you ‘hit’ an existing marker, you can then compare the time of that marker to the playback time to determine if the found marker is the ‘current’ marker.

    In my example it creates possible names by adding a number from 1-110 after the word “scene “: those are the only markers the script will find. You can empty the ‘prefix’ string if it’s just numbers.

    Another possible method would be to compare markernames against a list of possible values like
    [“marker 1″,”marker 2″,”the third marker”,”intro”,”outro”,”music cue”] etc. which is not very helpful either.
    Any way: you have to know or calculate all possible values of the marker’s text for this to be succefull.

    I hope this helps.

    Let me know if you need a script utilizing the second aproach, though mind that I’m on a CET timetable 😉
    If you know someone who’s more versed in scripts rather than expressions, I still think that it would be a piece of cake to write a script that converts markernames to textsource keyframes, because I think the functionality is not broken in the scripting side of after effects.

    Oh, and thanks for your podcasts… They’re fun.

  • Filip Vandueren

    August 22, 2006 at 8:09 pm in reply to: expression for showing layer marker text

    You mention you have to upgrade, but if you’re on AE 6.5, you don’t need this hack:
    you can just use the expression Dan mentioned using marker.value

  • Filip Vandueren

    August 22, 2006 at 8:09 pm in reply to: expression for showing layer marker text

    You mention you have to upgrade, but if you’re on AE 6.5, you don’t need this hack:
    you can just use the expression Dan mentioned using marker.value

  • Filip Vandueren

    August 22, 2006 at 5:13 pm in reply to: circular hole cutter

    Just create a circular mask on a solid, feather it as needed and use that as an alpha matte to reveal your ‘lit up’ layer.

  • Filip Vandueren

    August 22, 2006 at 5:11 pm in reply to: expression for showing layer marker text

    Shoot,

    it’s an html related error, if you look at the source code of the page (or the emails) you’ll see it’s there, it doesn’t show up, that happens with > and <, symbols: html thinks it's a tag so it doesn't show up. anyway here it is again HTML encoded (this will look like gibberish in the auto-reply emails: l=thisComp.layer(2); // pickwhip your markerlayer. prefix = "scene "; min=0; max=110; resultText=""; for (i=min;i<=max;i++) { try { markerText=prefix+i; m=l.marker.key(markerText); if ((m.time<time)) { resultText=markerText; // break; } } catch(e) {} } resultText;

  • Filip Vandueren

    August 22, 2006 at 5:11 pm in reply to: expression for showing layer marker text

    Shoot,

    it’s an html related error, if you look at the source code of the page (or the emails) you’ll see it’s there, it doesn’t show up, that happens with > and <, symbols: html thinks it's a tag so it doesn't show up. anyway here it is again HTML encoded (this will look like gibberish in the auto-reply emails: l=thisComp.layer(2); // pickwhip your markerlayer. prefix = "scene "; min=0; max=110; resultText=""; for (i=min;i<=max;i++) { try { markerText=prefix+i; m=l.marker.key(markerText); if ((m.time<time)) { resultText=markerText; // break; } } catch(e) {} } resultText;

  • Filip Vandueren

    August 22, 2006 at 11:01 am in reply to: expression for showing layer marker text

    Luckily you have people in different timezones working on this 😉

    anyway there was an error in there of course (was getting late for me…)

    here’s the correct code:

    l=thisComp.layer(2); // pickwhip your markerlayer.

    prefix = “scene “;
    min=0;
    max=110;

    resultText=””;

    for (i=min;i<=max;i++) { try { markerText=prefix+i; m=l.marker.key(markerText); if ((m.timehttps://users.telenet.be/vandueren//forumstuff/seqmarkertexthack.aep

  • Filip Vandueren

    August 22, 2006 at 11:01 am in reply to: expression for showing layer marker text

    Luckily you have people in different timezones working on this 😉

    anyway there was an error in there of course (was getting late for me…)

    here’s the correct code:

    l=thisComp.layer(2); // pickwhip your markerlayer.

    prefix = “scene “;
    min=0;
    max=110;

    resultText=””;

    for (i=min;i<=max;i++) { try { markerText=prefix+i; m=l.marker.key(markerText); if ((m.timehttps://users.telenet.be/vandueren//forumstuff/seqmarkertexthack.aep

  • Filip Vandueren

    August 21, 2006 at 8:03 pm in reply to: expression for showing layer marker text

    Hi Aharon,

    the Markers don’t happen to be called just 1,2,3,4,5,6 etc ?
    or “scene 1”, “scene 2″…

    if so, this hack can help:


    l=thisComp.layer(2); // pickwhip your markerlayer.

    prefix = "scene ";
    min=1;
    max=110;

    resultText="";

    for (i=min;i<=max;i++) { try { markerText=prefix+i; m=l.marker.key(markerText); if (m.time>time) {
    resultText=markerText;
    // if you're sure they're numbered correctly (1 2 3), you can enable the break
    // break;
    }
    } catch(e) {}
    }

    resultText;

    Also a script would probably not be affected by the bug, or usefull assistants might have a script.

  • Filip Vandueren

    August 21, 2006 at 8:03 pm in reply to: expression for showing layer marker text

    Hi Aharon,

    the Markers don’t happen to be called just 1,2,3,4,5,6 etc ?
    or “scene 1”, “scene 2″…

    if so, this hack can help:


    l=thisComp.layer(2); // pickwhip your markerlayer.

    prefix = "scene ";
    min=1;
    max=110;

    resultText="";

    for (i=min;i<=max;i++) { try { markerText=prefix+i; m=l.marker.key(markerText); if (m.time>time) {
    resultText=markerText;
    // if you're sure they're numbered correctly (1 2 3), you can enable the break
    // break;
    }
    } catch(e) {}
    }

    resultText;

    Also a script would probably not be affected by the bug, or usefull assistants might have a script.

Page 203 of 277

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