Go to Post Your iphone may be more intuitive for some of your students than a screw driver. - Isaac501 [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > Videography and Photography
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-06-2014, 20:58
ArtemusMaximus's Avatar
ArtemusMaximus ArtemusMaximus is offline
Enginerd
FTC #11722
Team Role: Coach
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Canada
Posts: 248
ArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to all
Adobe AfterEffects CS6 scripting

Does anyone have experience with scripting in Adobe AfterEffects CS6?
I created a composition as a template, now I want to copy-to-new composition, update name of composition and update text in 2 text layers. Composition name and text are stored in a list (Excel, csv, txt - whatever will make it easier).

Last edited by ArtemusMaximus : 02-06-2014 at 21:01.
Reply With Quote
  #2   Spotlight this post!  
Unread 02-06-2014, 23:49
ArtemusMaximus's Avatar
ArtemusMaximus ArtemusMaximus is offline
Enginerd
FTC #11722
Team Role: Coach
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Canada
Posts: 248
ArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to all
Re: Adobe AfterEffects CS6 scripting

Quote:
Originally Posted by ArtemusMaximus View Post
Does anyone have experience with scripting in Adobe AfterEffects CS6?
I created a composition as a template, now I want to copy-to-new composition, update name of composition and update text in 2 text layers. Composition name and text are stored in a list (Excel, csv, txt - whatever will make it easier).
Well, digging through manuals, guides and Google for 2 hours has paid off. created script that updated what I needed in seconds instead of 7-8 hours manually

This experience definitely made me appreciate the work involved for the credits at the end of the movie. There is a lot of work to add over 350 names to the credit roll (thats what I am working on)
Reply With Quote
  #3   Spotlight this post!  
Unread 04-06-2014, 19:44
Metonym's Avatar
Metonym Metonym is offline
One of those photos is good
AKA: Nikki Narayana
no team
 
Join Date: Feb 2013
Rookie Year: 2012
Location: West Lafayette, IN
Posts: 151
Metonym has a reputation beyond reputeMetonym has a reputation beyond reputeMetonym has a reputation beyond reputeMetonym has a reputation beyond reputeMetonym has a reputation beyond reputeMetonym has a reputation beyond reputeMetonym has a reputation beyond reputeMetonym has a reputation beyond reputeMetonym has a reputation beyond reputeMetonym has a reputation beyond reputeMetonym has a reputation beyond repute
Re: Adobe AfterEffects CS6 scripting

Don't leave us hanging . How did you do it?
__________________
Volunteered at:
2016 - Tippecanoe (Media Manager) | Walker Warren (Media Manager) | Perry Meridian (Media Manager) | Indiana DCMP (Media Manager) | World CMP (INFIRST Photographer) | Boiler Bot Battle (A/V) | CAGE Match (A/V and Media) |

2015 - Auburn Mountainview (A/V Crew) | Glacier Peak (A/V Crew) | Mount Vernon (A/V Crew) | Shorewood (A/V Crew) | Auburn (Media) | World CMP (PNW FIRST Media) | Cage Match (Video Producer) |

2014 - Auburn Mountainview (A/V Crew) | Glacier Peak (A/V Crew) | Mount Vernon (A/V Crew) | Shorewood (Media) | Auburn (Media) | PNW DCMP (A/V Crew) | World CMP (FIRSTWA Photographer) | IRI (A/V Crew) |

Reply With Quote
  #4   Spotlight this post!  
Unread 06-06-2014, 12:33
ArtemusMaximus's Avatar
ArtemusMaximus ArtemusMaximus is offline
Enginerd
FTC #11722
Team Role: Coach
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Canada
Posts: 248
ArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to all
Re: Adobe AfterEffects CS6 scripting

Quote:
Originally Posted by Metonym View Post
Don't leave us hanging . How did you do it?
I wasn't sure if anyone cared . I will add info when I get home.
Reply With Quote
  #5   Spotlight this post!  
Unread 06-06-2014, 19:07
ArtemusMaximus's Avatar
ArtemusMaximus ArtemusMaximus is offline
Enginerd
FTC #11722
Team Role: Coach
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Canada
Posts: 248
ArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to all
Re: Adobe AfterEffects CS6 scripting

Quote:
Originally Posted by Metonym View Post
Don't leave us hanging . How did you do it?
Background:
this part of the project is for the ending credits for dance school year end show video that I am working on. This year I wanted to do something interesting with credits and decided to do them in AfterEffects. There are over 300 kids, so I quickly realized that doing all of them manually will take a while.
Setup:
  • Each Dance title is in it's own composition
  • Each dancers name is in it's own composition
  • Each Dance compilation (dance title and dancer's names) is in it's own composition
Process:
  1. I created a "_template" for the dancers name. copied & paste as many times as there names. "_" so that copies will paste at the beginning of the Project List.
  2. Compiled list of dancers in Excel.
  3. created formula to make the corresponding code.
actual code snippet is here:
PHP Code:
var myProperty "Source Text";
var 
myComp app.project.item(1); var CompName "ArtemusMaximus"; var Text1 "Artemus"; var Text2 "Maximus";myComp.name CompNamemyComp.layer(2).property(myProperty).setValue(Text1);  myComp.layer(3).property(myProperty).setValue(Text2);
var 
myComp app.project.item(1); var CompName "Chief Delphi"; var Text1 "Chief"; var Text2 "Delphi";myComp.name CompNamemyComp.layer(2).property(myProperty).setValue(Text1);  myComp.layer(3).property(myProperty).setValue(Text2); 
Because it's JavaScript based I was able to flatten code into one line and made Excel formula much easier to create. So "pretty" code would look like this:

PHP Code:
var myProperty "Source Text";

var 
myComp app.project.item(1); 
var 
CompName "ArtemusMaximus"
var 
Text1 "Artemus"
var 
Text2 "Maximus";
myComp.name CompName
myComp.layer(2).property(myProperty).setValue(Text1);  
myComp.layer(3).property(myProperty).setValue(Text2);


var 
myComp app.project.item(1); 
var 
CompName "Chief Delphi"
var 
Text1 "Chief";
var 
Text2 "Delphi";
myComp.name CompName
myComp.layer(2).property(myProperty).setValue(Text1);  
myComp.layer(3).property(myProperty).setValue(Text2); 
Here I created test credits. Nothing fancy, but it's better than before:
https://www.youtube.com/watch?v=n8_FXIuH9iQ
Reply With Quote
  #6   Spotlight this post!  
Unread 12-06-2014, 00:39
ArtemusMaximus's Avatar
ArtemusMaximus ArtemusMaximus is offline
Enginerd
FTC #11722
Team Role: Coach
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Canada
Posts: 248
ArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to all
Re: Adobe AfterEffects CS6 scripting

Quote:
Originally Posted by Metonym View Post
Don't leave us hanging . How did you do it?
See, I told you. Nobody cares LOL
Reply With Quote
  #7   Spotlight this post!  
Unread 12-06-2014, 15:54
KeatonM's Avatar
KeatonM KeatonM is offline
Registered User
FRC #0027 (Team RUSH)
Team Role: Alumni
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Dallas, TX
Posts: 83
KeatonM has a brilliant futureKeatonM has a brilliant futureKeatonM has a brilliant futureKeatonM has a brilliant futureKeatonM has a brilliant futureKeatonM has a brilliant futureKeatonM has a brilliant futureKeatonM has a brilliant futureKeatonM has a brilliant futureKeatonM has a brilliant futureKeatonM has a brilliant future
Re: Adobe AfterEffects CS6 scripting

Quote:
Originally Posted by ArtemusMaximus View Post
See, I told you. Nobody cares LOL
I would be willing to bet that your post will be visited by plenty of people from random Google searches looking for a solution to the same problem you had.

If you have knowledge to share, why not share it? What help is it to keep it all to yourself?
__________________

Team RUSH 27 Alumni

Personal/Resume: http://keatondm.com
Social: http://twitter.com/keatonm27 & http://facebook.com/kdmantz


Anyone who has never made a mistake has never tried anything new.
- ALBERT EINSTEIN
Reply With Quote
  #8   Spotlight this post!  
Unread 14-06-2014, 13:09
ArtemusMaximus's Avatar
ArtemusMaximus ArtemusMaximus is offline
Enginerd
FTC #11722
Team Role: Coach
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Canada
Posts: 248
ArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to all
Re: Adobe AfterEffects CS6 scripting

Quote:
Originally Posted by KeatonM View Post
I would be willing to bet that your post will be visited by plenty of people from random Google searches looking for a solution to the same problem you had.

If you have knowledge to share, why not share it? What help is it to keep it all to yourself?
True, but it does help to know that it is useful to someone and time spent on sharing information is not wasted .

Thanks for your post Keaton!
Reply With Quote
  #9   Spotlight this post!  
Unread 03-07-2014, 11:54
ArtemusMaximus's Avatar
ArtemusMaximus ArtemusMaximus is offline
Enginerd
FTC #11722
Team Role: Coach
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Canada
Posts: 248
ArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to allArtemusMaximus is a name known to all
Re: Adobe AfterEffects CS6 scripting

A little update.
Doing credits this way while looking good, it does require fair amount of computing power to render. 3 sets of credits took over 72 hours to render.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 15:55.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi