Skip to main content

Questions tagged [after-effects-scripting]

Questions about using the After Effects scripting API using Adobe Extendscript. Do not use for questions that are about expressions, they are NOT the same thing.

Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

After Effects replace 3d layers in existing comp from new comp

i'm using the "run script" function in After Effects to run a .jsx, it creates a new comp that contains keyframed cameras and Nulls as 3D Objects. These Cameras and Nulls come from Blender. ...
Chris's user avatar
  • 101
0 votes
1 answer
26 views

How do I make a numbered list in adobe after effects?

I need to make an animation with a numbered list. So that the squares with the text "Task 1, task 2 ..." move to the left and the first one disappears from the left, and then the next ...
Георгий Мишарин's user avatar
1 vote
1 answer
143 views

How to get the number of options in a drop-down list (After Effects script)?

I'm trying to create a script that randomly selects an option from a drop-down list. For that I use a randomly generated number as the index of the set value. The issue is that if it tries to select ...
Alexandre Marcati's user avatar
1 vote
0 answers
35 views

After Effects: Add a Null to a point of two path's intersection

I'm looking to position a null at the intersection of two paths. I'm creating a bending elbow rig with irregular shapes, and I wanted to be able to place something in the crease of the elbow as it ...
Mike's user avatar
  • 11
0 votes
0 answers
130 views

How do I clone layers in Adobe After Effects

Thanks in advance for your input. First, I have a composition that has one square in it that has opacity and scale keyframe automations. This composition is named Square and is 25px by 25px. Square ...
BinaryJoe01's user avatar
1 vote
4 answers
3k views

FX Console plugin for After Effects not working on M1 Macs

The (very useful) VideoCopilot plugin FX Console doesn't appear to work with M1 Macs with After Effects CC 2022. Is there any workaround? When you open the plugin in After Effects, this error appears ...
tomh's user avatar
  • 8,162
1 vote
0 answers
99 views

After Effects: Moving Protected Areas from a parent compositions in time

I recently learned about the neat responsive design feature in after effects called "protected areas". While understanding the need and basic functionality of that feature, I am still ...
Marten Zander's user avatar
0 votes
1 answer
94 views

Adobe premiere Pro or After effects: is there a way to to programmatically make cuts?

Wondering if there was a way to make an automated cuts programmatically (e.g.) show time ranges [0-1:00, 2:00-2:15, etc..] If I have a 1 hour long video and I know by time code for each cut and wanted ...
Andy 's user avatar
1 vote
0 answers
26 views

How to write an expression for the following [Pop In object]?

Pop In object (@ 17s) I'm fairly new to Expressions, I'm trying to attain this effect with expressions. I tried using the inertial bounce code on the net n = 0; if (numKeys > 0){ n = nearestKey(...
Aravindh Vasu's user avatar
2 votes
0 answers
55 views

How to count datapoints in a JSON file with expressions in After Effects?

I load a JSON file with expressions in after effects. I need to know the number of datapoints in that JSON file for further processing. How can i count (or index?) Them with expressions?
TomTe's user avatar
  • 121
1 vote
0 answers
1k views

How to Programmatically Create Video Template (from barchart racer to kpop line count)

I have seen tutorials on how to generate barchart racer animations programmatically using languages like Python, once you script it, next time, you just need to load the load and the animation will ...
B.Mr.W.'s user avatar
  • 111
1 vote
2 answers
60 views

Rendering video with custom data provided by user

I want to create a website where the user could input some data like texts, images, and based on that the video that contains that data will be rendered and downloaded. Is there any services that ...
Tomasz Iwaszko's user avatar
1 vote
0 answers
370 views

How to link multiple keys to different sliders in After Effects

I'm a newbie with After Effects expressions, I need help with link few keyframes to different sliders on Null. I found this expression and its work with 2 keypoints. if (numKeys > 1){ t1 = key(1)....
Manitopa's user avatar
1 vote
1 answer
25 views

Access a precomp as a CompItem not as an AV Layer

In this case, I am selecting a precomp in the timeline but the problem is that this code below returns the AVLayer object instead of a CompItem object. How can I select the layer but get it as ...
LetTheWritersWrite's user avatar
0 votes
3 answers
484 views

How to change value in After Effects when passing marker

I am running into an issue where I want to change the value of my slider controller (just adding 1) each time it passes by a marker. This is my current code if (marker.numKeys > 0) { value = ...
Brice's user avatar
  • 3
1 vote
1 answer
59 views

Calculate after effects composition un-stretched time

How can I get or calculate the original current composition time of a time-remapped or stretched layer? My composition has both stretched and non stretched layers and I want to display the current ...
ramiwi's user avatar
  • 133
0 votes
1 answer
558 views

Stop children from scaling by parent scale

So I have a composition with a single image that has this expression attached to its position: [thisComp.width - 100, thisComp.height - 100] All this expression does is makes my image to be located ...
Ruslan Plastun's user avatar
0 votes
0 answers
76 views

How to sync Markers Comments between root Control Null & nested-in-comp-Null / Layer

Hello Fellow VFX / Motion Designers, I have spent a large amount of time going in circles trying to self-solve this one but time on the project is running low on time so I must ask the elder hive-...
spaceleviathan's user avatar
1 vote
0 answers
48 views

Need a script to import Rotoscoping mask

I am looking to perform rotoscoping on one of my videos. I have found Clearvid.io online service that performs rotoscoping. They provide the points of the resultant masks of rotoscoping in a text file ...
thesfax's user avatar
  • 11
0 votes
1 answer
106 views

Automate video production with After Effects CC

I am tasked to produce ~100 videos of 10 minutes in After Effects. The videos will later be commented by voice, and I am tasked only to make the "motion" part. Each video use: about 30 "image" ...
Nicolas Telmaut's user avatar
2 votes
1 answer
364 views

Animate a Slider With Json File Import?

So let me explain, I have a json file with numbers and the duration of how long each number should be displayed which is 4 seconds. I want the slider to show the first number (which is 1,000) and then ...
xavier gonzales's user avatar
0 votes
1 answer
477 views

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

My comp setup is as follows: - layer 1: image - layer 2: duplicated from layer one I'm looking for an expression or any other method (Could be a plugin recommendation) so when I change the image of ...
mediaroot's user avatar
  • 103
0 votes
1 answer
41 views

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

The Setup - PreComp1 -- PreCompLayer1 --- simpleRectangleLayer - Main Timeline -- layer1 --- [PreComp1] -- layer2 --- [PreComp1] Question Using only scripting is it possible to modify the inside ...
Jacksonkr's user avatar
  • 137
1 vote
2 answers
351 views

After Effects - Can Expressions read from Extend Script?

Backstory I'm trying to learn about After Effects' different abilities. Question If I make a function using extend script like so function alertStuff() { alert("stuff") } Can I call this ...
Jacksonkr's user avatar
  • 137
2 votes
1 answer
106 views

How to move a layer using a slider control?

I'm trying to create a mogrt file that has the option of moving a layer using a control (instead of just moving it on the timeline). Is there a way to create a slider control for example that allows ...
Taapo's user avatar
  • 236
1 vote
1 answer
767 views

Adobe After effects watch folder render all composition

I am saving an After effects file in a watch folder which is being watched by Adobe media encoder using extendscript , the problem is all the compositions are rendered to a video by adobe media ...
madha kumar's user avatar
2 votes
1 answer
146 views

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

I'm new to using expressions in after effects and I've also hardly touched Java before. However using some online tutorials and common sense, I managed to create a lower thirds title graphic ...
AutoBaker's user avatar
  • 378
0 votes
3 answers
8k views

Use markers in After Effects as triggers for a particular animation

I have a one precomp animations (from stocks). And I am searching for a script /expression that will automate a certain animation for my project. I have a long videos with premade subtitles srt file ...
Cloddo's user avatar
  • 1
1 vote
1 answer
358 views

using images as text characters in after effects

I've made a series of comps each representing a letter from the alphabet. Is there an expression or plugin where I can convert the relevant text character on screen to be replaced by the appropriate ...
tomh's user avatar
  • 8,162
0 votes
2 answers
1k views

Automate After Effects assets rendering via script and external data

I am often rendering quite large sets of assets (lower thirds, titles, etc) from AFX and it's really annoying to eg create lower third and then duplicate it and change texts. Especially when I later ...
Delltar's user avatar
  • 348
1 vote
0 answers
126 views

Is possible to pass variables from premiere to after effect compositions?

One of the latest features put inside AE & PR 2017 is the Live Text Edits.. In short you can mark an after effect composition as template and then all the texts inside that composition will be ...
user3450548's user avatar
  • 1,720
0 votes
2 answers
522 views

After Effects automation and annotation tools (scripts) for student work

I need a professional advice for self-assessing among students. I am searching for a tool (script or scripts) that helps annotating very long videos in After Effects. I also would like to automate the ...
Question's user avatar
1 vote
1 answer
3k views

set scale in pixels in After Effects using Expressions

You can right click on a scale, hit Edit, and then enter scale in Pixels, inches , % of Comp, of source.... I would like to set the scale in pixels. How can set the units using expressions? I tried ...
sanjihan's user avatar
  • 151
2 votes
1 answer
6k views

Control key frame value with slider control

I have an object in After Effects comp and I need its scale to change from keyframe A to keyframe B and I need keyframe A to have value of 95% and keyframe B value of whatever is set via slider ...
Delltar's user avatar
  • 348
1 vote
1 answer
2k views

Link audio to opacity effect of an image in After Effects

I have 3 audio files from a podcast. 1 file from Steve, one from john, and the other is from me. I have a composition with the three audio files and also 3 png images of our faces, one for each of ...
Rafat Mahmoud's user avatar
0 votes
1 answer
99 views

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

I found myself in position where I need to render 6(or more) layers in different order. For example in 1,2,3,4,5,6 then 4,2,1,3,5,6 and so on. Some of the layers blend with the former or later one. It ...
sanjihan's user avatar
  • 151
2 votes
1 answer
3k views

How to programmatically personalize video? [closed]

this article shows an impressive implementation of how to programmatically personalize video. "Everybody received their ‘own’ version of the video." How would I realize a similar solution? Which ...
Alex's user avatar
  • 143
2 votes
1 answer
758 views

Change Output file name in AfterFX .jsx script

I am rendering a project several times, and use a script to change some of the input. However, I have not figured out how to change the name of the output file in the script. This is basically my ...
EluciusFTW's user avatar
1 vote
1 answer
4k views

How to loop outer glow layer style in After Effects?

I have a layer in After Effects to which I have applied an outer glow as a layer style. Ideally I would like the glow to turn off and on, in a loop, starting at a point in time and then stopping. Is ...
Flobin's user avatar
  • 113
1 vote
0 answers
843 views

Expressions: Data-generated After Effects Graphic using CSV file?

Is there a way to read a CSV file or spreadsheet containing dates in timecode in one column and data in another column, then use the time/date to pair with footage to display the corresponding data? ...
auto's user avatar
  • 121
3 votes
1 answer
117 views

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

I have been trying to make a script that will automatically apply an effect to the selected layer. So far, it looks like this: var myLayer = app.project.activeItem.selectedLayers[0]; I have seen ...
hololeap's user avatar
  • 161