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

Can a script open an AE file, and copy layers and assets from it?

Participant ,
May 25, 2023 May 25, 2023

Hey Folks,

 

I'm writing a script that needs to open an existing AE file, and then copy it's layers and assets into the current  project. Do you know if there is a way to do that with ExtendScript?

 

Thanks.

TOPICS
Import and export , Scripting
343
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
Participant ,
May 25, 2023 May 25, 2023

Why not import the project into your current project using app.project.importFile()? Now you have all assets in your project and can move them wherever you want.

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
Participant ,
May 25, 2023 May 25, 2023

That's perfect. Thank you. (I'm an ExtendScript newbie, and missed that obvious solution.)  🙂

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
Participant ,
May 25, 2023 May 25, 2023
LATEST

Haha, no worries. Good luck with your script!

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