Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE AFTER EFFECTS: HomeForumBasicsExpressionsTutorialsPodcastsMotion GraphicsTrainingCinema 4DFAQ

Scripting: Assign layer color based on file name?

Cow Forums : Adobe After Effects Expressions

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>
Scripting: Assign layer color based on file name?
by Matt French on Jul 1, 2009 at 2:19:08 am

Sorry if this is a basic question, I am a relatively newbie at AE from a Shake and Nuke background.

I am hoping it is possible to script something that will automatically assign layer colors based on a filename input.

Eg it will check the filename and if it finds xxx_yyyyy_zzz_RGB.#.tga it will assign "red" (based on the RGB tag), if it finds xxx_yyyyy_zzz_SHADOW.#.tga it will assign "green" (based on the SHADOW tag) etc.

Any pointers would be appreciated.

Matt

Respond to this post   •   Return to posts index

Re: Scripting: Assign layer color based on file name?
by Dan Ebberts on Jul 1, 2009 at 2:53:50 am

Are you talking about the layer's label color? As far as I know, that's not accessible to scripting.

Dan



Respond to this post   •   Return to posts index

Re: Scripting: Assign layer color based on file name?
by Matt French on Jul 1, 2009 at 3:12:33 am

Yes, the label color. Interesting that it would not be accessible by scripting as it seems like a pretty basic functionality.

Respond to this post   •   Return to posts index


Re: Scripting: Assign layer color based on file name?
by Andy George on Jul 1, 2009 at 9:04:34 pm

If your ultimate goal is layer controll
check out this script for tagging layers.

http://aescripts.com/zorro-the-layer-tagger/




-Andy

Respond to this post   •   Return to posts index

Re: Scripting: Assign layer color based on file name?
by Matt French on Jul 1, 2009 at 11:02:48 pm

Cheers, thanks Andy :)

Respond to this post   •   Return to posts index

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>


FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]