Highlighted

Create dynamic Composition based on PS import via Adobe Scripting

New Here ,
Sep 11, 2020

Copy link to clipboard

Copied

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

Adobe Community Professional
Correct answer by justintaylor | Adobe Community Professional

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()

Topics

How to, Import and export, Scripting

Views

40

Likes

Translate

Translate

Report

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

Create dynamic Composition based on PS import via Adobe Scripting

New Here ,
Sep 11, 2020

Copy link to clipboard

Copied

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

Adobe Community Professional
Correct answer by justintaylor | Adobe Community Professional

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()

Topics

How to, Import and export, Scripting

Views

41

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Sep 11, 2020 0
Adobe Community Professional ,
Sep 11, 2020

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 11, 2020 0
Adobe Community Professional ,
Sep 11, 2020

Copy link to clipboard

Copied

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()

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 11, 2020 0
Nico_dre LATEST
New Here ,
Sep 15, 2020

Copy link to clipboard

Copied

Thank you !

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 15, 2020 0