Search found 29 matches

by dfred
June 14th, 2012, 9:36 am
Forum: Expression Discussion
Topic: Slider Control Syntax Question
Replies: 5
Views: 9131

Re: Slider Control Syntax Question

"temp" is the name of the variable. On the first line "temp" was assigned the value of the slider, so let's say the slider is set to 50. The second line is the final expression that is calculated, which would be [100, 50]. So, if the expression is on "Scale" it would assign 100% to the x scale and 5...
by dfred
June 14th, 2012, 9:05 am
Forum: Expression Discussion
Topic: Slider Control Syntax Question
Replies: 5
Views: 9131

Re: Slider Control Syntax Question

If you are using AE in English you can just use ("Slider") instead. "ADBE Slider Control-0001" is the matchName of the actual slider--meaning that no matter what language AE is being used in that matchName will always reference that part of the effect--it is hardcoded into the program. Whereas the w...
by dfred
June 10th, 2012, 12:05 am
Forum: Scripts Discussion
Topic: New CS6 Scripting Features
Replies: 2
Views: 3699

New CS6 Scripting Features

Not all, but here are a few: app.activeViewer app.activeViewer.active app.activeViewer.activeViewIndex app.activeViewer.maximized app.activeViewer.setActive() app.activeViewer.type app.activeViewer.views app.activeViewer.views[0] app.activeViewer.views[0].active app.activeViewer.views[0].blitPlaybac...
by dfred
June 8th, 2012, 1:34 pm
Forum: Script requests
Topic: ShapeLayer path rotoBezier
Replies: 3
Views: 4503

Re: ShapeLayer path rotoBezier

Another fix would be to create a rotoBezier mask on the shapeLayer then just link the shapePath to the maskPath via expressions.
by dfred
June 8th, 2012, 12:53 pm
Forum: Expression Discussion
Topic: Error handling for custom values
Replies: 1
Views: 4813

Re: Error handling for custom values

Apparently it's unable to be handled. According to the JavaScript Tools Guide: Messaging error codes Negative values indicate unrecoverable errors... -29 Uncaught exception 57 Cannot resolve reference So, I came up with this ugly solution: maskPath = thisComp.layer(1).mask(1).maskPath; try { if (mas...
by dfred
June 8th, 2012, 12:11 pm
Forum: Expression Discussion
Topic: Error handling for custom values
Replies: 1
Views: 4813

Error handling for custom values

I have an animated mask path on layer 1 and I am trying to handle an "After Effects error" with the following expression in source text: try { x = thisComp.layer(1).mask(1).maskPath.velocity; } catch (err) { x = "error"; } The error I keep getting is: After Effects error: can't compute derivative to...
by dfred
June 8th, 2012, 10:26 am
Forum: Script requests
Topic: ShapeLayer path rotoBezier
Replies: 3
Views: 4503

Re: ShapeLayer path rotoBezier

It doesn't appear to be accessible. ShapeGroup properties and methods: ,==,active,addProperty,canAddProperty,canSetEnabled,duplicate,elided,enabled, isEffect,isMask,isModified,matchName,moveTo,name,numProperties,parentProperty, property,propertyDepth,propertyGroup,propertyIndex,propertyType,remove,s...
by dfred
May 29th, 2012, 6:55 pm
Forum: Scripts Discussion
Topic: Sort script UI panels alphabetically
Replies: 1
Views: 2876

Re: Sort script UI panels alphabetically

The ScriptUI scripts in the Window menu should already be in alphabetical order. If you are talking about File>Scripts then I think it lists scripts in this order:

Numbers
Upper-case Letters
Lower-case Letters
by dfred
April 18th, 2012, 1:07 pm
Forum: Expressions Library
Topic: How to use only the z value of a camera's position keyframes
Replies: 2
Views: 8614

Re: How to use only the z value of a camera's position keyfr

At the end of the expressions just make sure it says ".position[2]"

You can also just pick whip the z position and it will put the [2] at the end for you.

0 is x, 1 is y, 2 is z
by dfred
April 16th, 2012, 6:48 pm
Forum: General Scripts Library
Topic: CornerPinner script
Replies: 1
Views: 6779

CornerPinner script

New Version coming soon: Using pre-existing corner pin effects within After Effects this script: 1) Converts corner pin effects using expressions 2) Creates simple corner pin mattes 3) Rotates corners 4) Adds a simple corner pin 5) Adds ability to round edges of corner pin Supported Corner Pin Effec...
by dfred
December 20th, 2011, 11:55 pm
Forum: Script requests
Topic: Add a Point Light to each Selected Layers postition
Replies: 3
Views: 5868

Re: Add a Point Light to each Selected Layers postition

That first script is a mess. I just wrote a much cleaner version where the Undo actually works. I'll post it as soon as I do some more testing.
by dfred
December 20th, 2011, 8:59 pm
Forum: Script requests
Topic: Add a Point Light to each Selected Layers postition
Replies: 3
Views: 5868

Re: Add a Point Light to each Selected Layers postition

Here's a not so pretty attempt. You need the After Effects project file (attached) in the same folder as the script. Also the undo is messed up. Maybe somebody better at scripting could help get the undo working, but other than that it's functioning: #target aftereffects { function df_AddPointLights...
by dfred
December 20th, 2011, 8:52 pm
Forum: Script requests
Topic: Flop Keyframes
Replies: 1
Views: 3514

Re: Flop Keyframes

Nevermind -- I managed to modify multicopy to flop keyframes.
by dfred
December 9th, 2011, 5:13 pm
Forum: Script requests
Topic: Flop Keyframes
Replies: 1
Views: 3514

Flop Keyframes

I would like to "Flop Keyframes." This is similar to "Time-Reverse" with the following exceptions: 1)"Flop Keyframes" would reverse all keyframes in relation to all other selected property keyframes ("time-reverse" just reverses the keyframes in relation to their specific property keyframes which cr...