ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Updating Audio Markers

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Mackie john
Updating Audio Markers
on Jan 7, 2020 at 4:25:35 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'.


Return to posts index

Andrei Popa
Re: Updating Audio Markers
on Jan 7, 2020 at 3:14:39 pm

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

app.executeCommand(app.findMenuCommandId("Update Marker From Source"));

Andrei
My Envato portfolio.


Return to posts index

Mackie john
Re: Updating Audio Markers
on Jan 8, 2020 at 7:26:03 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;


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2020 CreativeCOW.net All Rights Reserved
[TOP]