Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

AE sort layers by timestamp

New Here ,
Jun 29, 2023 Jun 29, 2023

Hi. I want to sort 300+ layers (video, text, shape and etc.) by timestamp of starting. I don't want to do it manually, is there a way to do it quickly? 

Please see the attachment of a small part of my timeline.

Any help is appreciated!

TOPICS
How to , Scripting , User interface or workspaces
239
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 29, 2023 Jun 29, 2023
LATEST

You would want to write a script that loops over each layer, gets the source project item, gets the source media, then gets the timestamp info via something like fs.statSync() in Node.js if you're using a CEP panel, (or if you're just using Script UI then you only have the modified date), then sort them accordingly.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines