3 votes
Accepted

Scripting - Where is the documentation for the Layer#Effects attribute?

I actually found the answer in the CS3 scripting guide. CompItem#selectedLayers actually returns an array of AVLayer objects. AVLayer is a subclass of Layer and has quite a few attributes. Here are a ...
user avatar
  • 161
3 votes

How to programmatically personalize video?

You can use ffmpeg to do something like this programmatically. It has the capability to composite and edit footage as well as adding effects and text. It is a command line app, so works in the shell ...
user avatar
  • 13.3k
2 votes

Automate After Effects assets rendering via script and external data

Have you got the latest version? After Effects CC 2018 is all about data driven animation. Either way you can use external file to drive expressions (in older versions too) using the eval javascript ...
user avatar
  • 13.3k
2 votes
Accepted

set scale in pixels in After Effects using Expressions

The size in pixels is easily computed as the source's original dimensions multiplied by the scale. Or in other words p = d × s where p=pixel dimensions required, d=source dimensions, s=scale. So ...
user avatar
  • 13.3k
2 votes
Accepted

Control key frame value with slider control

You were close. if (numKeys > 1){ t1 = key(1).time; t2 = key(2).time; v1 = [95, 95]; //or if it's 3d [95, 95, 95] slider = comp("INPUT").layer("CONTROL").effect("Zoom intensity")("Slider");...
user avatar
  • 13.3k
2 votes
Accepted

Link audio to opacity effect of an image in After Effects

The easiest way to do this is to use an expression. First you convert audio to keyframes. Then set an expression on your opacity channel. If you drag the pick-whip for the expression to the audio ...
user avatar
  • 13.3k
2 votes
Accepted

Change Output file name in AfterFX .jsx script

I found the right property that has to be changed and wrote a function that does the job: function renameComposition(newName) { var curComp = null; for (var i = 1; i < app.project.numItems ...
user avatar
2 votes

Adobe After effects watch folder render all composition

Make sure that only the comps you want rendered are in the top level of the project. If there are compositions that you don't want rendered, such as subcomps, put them in a folder in your project ...
user avatar
  • 13.3k
2 votes
Accepted

After Effects: How to do Organic Contraction effect

There's a 3D deformation happening here, along with an optical glow on the bass beats. I would guess this was made in After Effects, using the plugins Trapcode Form or possibly Plexus with Sound Keys ...
user avatar
  • 6,287
2 votes
Accepted

Is it possible to modify a single precomp instance via scripting?

Scripting can do anything you can do with the UI. This isn't something you can do with the UI, so no, you can't do it with scripting. If you change the colour of precomp1.layer1.simpleRectangleLayer ...
user avatar
  • 13.3k
1 vote
Accepted

FX Console plugin for After Effects not working on M1 Macs

AEscripts - QuickMenu. Decent replacement. Does a bit more. Can apply stuff to multiple layers etc. I swapped over to it today and it works great as I' not sure FX Console would ever get updated....
user avatar
1 vote
Accepted

After Effects - Can Expressions read from Extend Script?

Short answer: no. Long answer: There may be an unknown, undocumented hack that enables this, like modifying some of the core classes, or a workaround, like writing to a file and reading the results, ...
user avatar
  • 13.3k
1 vote
Accepted

After effects expression how to round DOWN or remove numbers after decimal point

Normally I would use Math.round like this when trying to display text: slider = (effect("Slider Control")("Slider").value); tidying = (Math.round(slider * 100))/100; SourceText = &...
user avatar
  • 6,287
1 vote

Matte only over items of a specific color?

Place a duplicate copy of your red box as the top layer. Put the blue box as the next layer. Set the Blue box's TrkMat (track matte) to Alpha.
user avatar
  • 11
1 vote
Accepted

Automated source text animation based on split

Found it t=thisComp.layer("test1-test2-test3").text.sourceText; word=t.split("-"); n = time/thisComp.frameDuration word[n]
user avatar
  • 121
1 vote

how to Checkbox Control one item twice in after effect?

Expressions are evaluated until they return a value. Your first line will always return a value, and the expression will stop there. Think about what you're telling the property to do: If the ...
user avatar
  • 13.3k
1 vote
Accepted

Does After Effects expressions follow BODMAS

After Effects (as of version 16, released 2020) uses the V8 Javascript engine to interpret expressions. This is the same as used in many web browsers, such as Chrome. It's pretty easy to test if it ...
user avatar
  • 13.3k
1 vote

Scale texts as the the parent shape layer changes

If you have the cube animation as a rendered file and can't mess around in the original animation, I would try corner-pins. Simply track the corners by hand by keyframing the four corners of the ...
user avatar
1 vote

Access a precomp as a CompItem not as an AV Layer

Well, I found my own answer. I just needed to access the source property. var comp = app.project.activeItem.selectedLayers[0].source; alert(comp);
user avatar
1 vote
Accepted

After effects | How do I copy an image source from layer to another programatically?

It depends how you mean: Option 1: If you put the image in Layer 1 inside a Comp, then any change to the image inside the Comp will change in both Layer 1 and Layer 2 (assuming you also put the Comp ...
user avatar
  • 6,287
1 vote
Accepted

help to animate an lower thirds that's positioned by expressions

There are some built-in functions just for this purpose. You'll find them in the interpolation folder in the expression drop-down. The simplest is the linear() function: linear(t, value1, value2) ...
user avatar
  • 13.3k
1 vote
Accepted

using images as text characters in after effects

The Characteristic plugin for After Effects is built specifically for this: https://aescripts.com/characteristic/ You can set kerning and spacing parameters for each character. Check out this ...
user avatar
1 vote
Accepted

How to loop outer glow layer style in After Effects?

I'd suggest animate the 'Opacity' property of the outer glow: Click to enlarge Create a keyframe by clicking on the stopwatch of outer glow 'opacity' and set its value to 0% Create a second keyframe ...
user avatar
  • 2,259
1 vote
Accepted

What properties of After Effects project can be edited without opening the application itself

To my knowledge there is no tool available for editing After Effects project files other than After Effects itself. However you can script After Effect using Adobe's Extendscript language, so that it ...
user avatar
  • 13.3k

Only top scored, non community-wiki answers of a minimum length are eligible