Skip to main content
Inspiring
May 25, 2023
Question

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

  • May 25, 2023
  • 1 reply
  • 425 views

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.

This topic has been closed for replies.

1 reply

ConstantinMaier
Inspiring
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.

Inspiring
May 25, 2023

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

ConstantinMaier
Inspiring
May 25, 2023

Haha, no worries. Good luck with your script!