Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Updating Audio Markers

  • Updating Audio Markers

    Posted by Mackie John on January 7, 2020 at 4:25 am

    I want to include Audio from Markers into the AE project. The audio file is saved from Adobe Audition and when i include this into the AE project, i need to go to: LAYER -> MARKER -> UPDATE MARKER FROM SOURCE. Then it shows the marker on the timeline.

    How to achieve the same using script or expression ? From a script or expression how can i do a ‘UPDATE MARKER FROM SOURCE’.

    Mackie John replied 6 years, 3 months ago 2 Members · 2 Replies
  • 2 Replies
  • Andrei Popa

    January 7, 2020 at 3:14 pm

    With scripting:
    First, you select the layer.
    Then, you run this

    app.executeCommand(app.findMenuCommandId(“Update Marker From Source”));

    Andrei
    My Envato portfolio.

  • Mackie John

    January 8, 2020 at 7:26 am

    Thanks Andrei,

    This works.

    Another question as I’m just new to ExtendedScript. How do I write in the script to target the application. I know this can be done from the dropdown box in the ExtendScriptToolkit. But if I forget that or I need to run the script from within AfterEffects (where I include it as part of the footage), it gives me an undefined error on the below line

    app.project.activeItem.layer("Audio").selected = true;

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