Skip to main content
Nico_dre
Participant
September 11, 2020
Answered

Create dynamic Composition based on PS import via Adobe Scripting

  • September 11, 2020
  • 2 replies
  • 367 views

Hello friends!

 

I would like to know if it is possible to import an PS File via script and at the same time create a Composition which is based upon the Files Name. So for example: I have an PS File Named "S01" and I now wanna animate it in AE. And typically I would import it normally, but now I wanna have a Script that imports the Selected Folder and Creates a composition base upon the PS Files Name.

 

So far I'm at Importing all the files and creating a composition via button, but I don't know how to let the Name change dynamically.

 

I would be very glad, if any of you could help me.

Thanks,

Nico

This topic has been closed for replies.
Correct answer Justin Taylor-Hyper Brew

If you're doing this in bulk, then you'd wanna go with scripting. This is fairly straighforward in scripting, you just need to import the files, and then create new comps with the same name.

Here are some resources:

Importing files
http://docs.aenhancers.com/other/importoptions/?highlight=import

Creating Comps
http://docs.aenhancers.com/items/itemcollection/?highlight=addcomp

 

Add psd to comp:

app.project.activeItem.layers.add()

2 replies

Justin Taylor-Hyper Brew
Community Expert
Community Expert
September 11, 2020

If you're doing this in bulk, then you'd wanna go with scripting. This is fairly straighforward in scripting, you just need to import the files, and then create new comps with the same name.

Here are some resources:

Importing files
http://docs.aenhancers.com/other/importoptions/?highlight=import

Creating Comps
http://docs.aenhancers.com/items/itemcollection/?highlight=addcomp

 

Add psd to comp:

app.project.activeItem.layers.add()
Nico_dre
Nico_dreAuthor
Participant
September 15, 2020

Thank you !

Szalam
Community Expert
Community Expert
September 11, 2020

If you import a PSD file, the import dialog give you an option to import it as footage or as a composition. If you choose the composition option, the comp will have the same name as the file. That should do what you're asking for unless I'm completely misunderstanding your post.