Search found 56 matches

by ernpchan
October 19th, 2015, 5:04 pm
Forum: Scripts Discussion
Topic: How to check if an effect is missing
Replies: 6
Views: 14366

Re: How to check if an effect is missing

What I ended up doing was writing out all the effects that app.effects returned to a text file. Then with my other script I read the contents of that text file to use as a baseline for what effects we have. What's a little odd is that if I load up a file that has effects that we don't have, clear th...
by ernpchan
October 19th, 2015, 10:53 am
Forum: Scripts Discussion
Topic: How to check if an effect is missing
Replies: 6
Views: 14366

Re: How to check if an effect is missing

Thanks beginUndoGroup but unfortunately that didn't work. When I load up a project that has a plugin that we don't have, app.effects contains the object for that missing fx so I if I check the effects that are on a layer against the names that are in app.effects my script reports that nothing is mis...
by ernpchan
October 16th, 2015, 4:09 pm
Forum: Scripts Discussion
Topic: How to check if an effect is missing
Replies: 6
Views: 14366

How to check if an effect is missing

I need to generate a report for when effects are missing and I'm familiar with Paul's pt_EffectSearch 3 script but due to studio reasons I'm not able to purchase it. All I need is the ability to check if an effect is missing. I don't see anything in the CS6 scripting guide that checks for this. Is t...
by ernpchan
July 23rd, 2015, 11:32 am
Forum: Scripts Discussion
Topic: Add Animator to text layer
Replies: 2
Views: 10504

Re: Add Animator to text layer

Thanks Paul!
by ernpchan
July 9th, 2015, 6:08 pm
Forum: Scripts Discussion
Topic: Add Animator to text layer
Replies: 2
Views: 10504

Add Animator to text layer

Does anybody have an example of adding the Animator to a text layer?
by ernpchan
July 28th, 2014, 10:12 am
Forum: Scripts Discussion
Topic: Adding Layer Style
Replies: 2
Views: 9575

Re: Adding Layer Style

I found you could add a specific layer style by executing a commandID.

http://forums.creativecow.net/thread/227/19122
by ernpchan
July 28th, 2014, 9:27 am
Forum: Scripts Discussion
Topic: Adding Layer Style
Replies: 2
Views: 9575

Adding Layer Style

What is the proper syntax to add a drop shadow layer style to a layer? The below isn't working for me. selected.layer(1).LayerStyles.addProperty("DropShadow") Also it looks like you can apply a preset file but we can't save out a preset file? I'd like to be able to save out a layer style p...
by ernpchan
January 29th, 2014, 2:53 pm
Forum: Scripts Discussion
Topic: Get Render Settings name
Replies: 0
Views: 7659

Get Render Settings name

Is it possible to get the Render Settings name? I can get the Output Module name, but don't see anything that'll let me query Render Settings.

This only returns an array of all the templates available.
RenderQueueItem templates attribute

Code: Select all

app.project.renderQueue.item(index).templates
by ernpchan
January 14th, 2014, 12:08 pm
Forum: Scripts Discussion
Topic: Recursively embed #include
Replies: 1
Views: 6863

Re: Recursively embed #include

Found the answer. Use this:

Code: Select all

$.evalFile(path_to_your_file)
Instead of eval(File);
by ernpchan
January 14th, 2014, 11:38 am
Forum: Scripts Discussion
Topic: Recursively embed #include
Replies: 1
Views: 6863

Recursively embed #include

Is it possible to use #include through scripts that get called through a chain? For example, I have 3 files (Parent, Child, Functions). Parent executes Child via the eval(); code. Child is a standalone jsx file that uses #include to import functions that exist in Functions.jsx. If I run Child on its...
by ernpchan
October 15th, 2013, 3:18 pm
Forum: Scripts Discussion
Topic: SERIOUS DOUBLE PRECISION ERROR
Replies: 2
Views: 8073

Re: SERIOUS DOUBLE PRECISION ERROR

I use this off a post on the Adobe forum to accurately get my place in time.

frame = selection.time + (.001/selection.frameRate);
by ernpchan
October 2nd, 2013, 10:54 am
Forum: Scripts Discussion
Topic: Control Separate Dimensions
Replies: 2
Views: 8512

Re: Control Separate Dimensions

Thanks Paul!
by ernpchan
September 30th, 2013, 3:50 pm
Forum: Scripts Discussion
Topic: Control Separate Dimensions
Replies: 2
Views: 8512

Control Separate Dimensions

What name should be called for the separate X and Y property? The below works with Property is still unified. layerCollection[idx].property("Position").setValueAtTime(1,[4,5]); The below doesn't work when I've separated X and Y. layerCollection[idx].property("X Position").setValu...
by ernpchan
August 8th, 2013, 12:45 pm
Forum: Scripts Discussion
Topic: Dependency name getting cropped
Replies: 1
Views: 6776

Re: Dependency name getting cropped

I guess this is the problem?

http://forums.adobe.com/message/5290346
by ernpchan
August 8th, 2013, 11:40 am
Forum: Scripts Discussion
Topic: Dependency name getting cropped
Replies: 1
Views: 6776

Dependency name getting cropped

I have a render item that's rendering out an image sequence. The name of my output is pretty long. [show]_[stage]_[episode]_[sequence]_[shot]_[type]_[info]_[####].png When I drag the output module for this RQ item the name of the dependency is getting chopped. It looks like there's a string limit on...