AE ENHANCERS

Expressions/Scripts/Presets
It is currently Sat May 18, 2013 8:21 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Layer style - add / enable
PostPosted: Mon Jan 17, 2011 2:06 pm 
Hi Guys,

Is it possible to turn on a Layer Style using scripting?

Everything I've tried seems to hit up against canSetEnabled = false or canAddProperty() = false

Is there a workaround?

-Ben.


Top
  
 
 Post subject: Re: Layer style - add / enable
PostPosted: Tue Jan 18, 2011 2:19 am 
Offline

Joined: Sat Jun 05, 2004 7:59 am
Posts: 645
Location: London, UK
I needed to do this too and found it wasn't easy. I ended up doing it by saving animation presets for each layer style (Blending Options too) into a 'support folder' and then getting the script to locate and apply the correct animation preset.

I recommend filing a request to allow layer styles to be added directly. The more people that ask, the more likely it will be implemented. http://adobe.com/go/wish/

Paul


Top
 Profile  
 
 Post subject: Re: Layer style - add / enable
PostPosted: Tue Jan 18, 2011 4:09 am 
Thanks Paul. I'll give that a try.

I've posted the feature request over at Adobe too.

-Ben.


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group