Skip to main content
Known Participant
July 27, 2021
Answered

After effects script: Cut layer according to composition markers.

  • July 27, 2021
  • 1 reply
  • 513 views

Hey! So I'll keep it short:

I'm currently working on a script. For the moment, the script creates a solid and I need to get the timecode of each composition markers and then cut the layer I just created according to the composition markers. Is there a way to do that?

Thanks.

This topic has been closed for replies.
Correct answer Mathias Moehl

In Ae CC2017 and newer you can access the comp markers with

comp.markerProperty:

https://ae-scripting.docsforadobe.dev/items/compitem/#compitem-markerproperty

 

 

1 reply

Mathias Moehl
Community Expert
Mathias MoehlCommunity ExpertCorrect answer
Community Expert
July 27, 2021

In Ae CC2017 and newer you can access the comp markers with

comp.markerProperty:

https://ae-scripting.docsforadobe.dev/items/compitem/#compitem-markerproperty

 

 

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
Known Participant
October 13, 2021

A bit late but thanks!