Skip to content

Instantly share code, notes, and snippets.

@aescripts
aescripts / Value at Current Time for KBar's button in After Effects.jsx
Created November 27, 2017 23:38
François Tarlier #AfterEffects #Script #KBar this snippet will set a defined value on the selected properties at the current time of the comp
// this snippet will set a defined value on the selected properties at the current time of the comp
/*********************************************************
VALUE AT CURRENT TIME
snippet for After Effects
made for ft-Toolbar http://aescripts.com/ft-toolbar/ or KBar https://aescripts.com/kbar
http://www.francois-tarlier.com
*********************************************************/
// this snippet will set a defined value on the selected properties at the current time of the comp
@aescripts
aescripts / Property Value at Current Time.jsx
Created November 27, 2017 23:36
François Tarlier #AfterEffects #Script #KBar it will set a defined value on a defined properties at the current time of the comp
// it will set a defined value on a defined properties at the current time of the comp
/*********************************************************
PROPERTY VALUE AT CURRENT TIME
snippet for After Effects
made for ft-Toolbar http://aescripts.com/ft-toolbar/ or KBar https://aescripts.com/kbar
http://www.francois-tarlier.com
*********************************************************/
// this snippet will set a defined value on a defined properties at the current time of the comp
@aescripts
aescripts / Add Solid with Ramp.jsx
Created November 27, 2017 23:34
Kiyaga edwin #AfterEffects #Script #KBar Create solid named background with a ramp effect
//Create solid named background with a ramp effect
myComp = app.project.activeItem;
app.beginUndoGroup("Add Ramp")
mySolid = myComp.layers.addSolid([0,.8,.4], "BG", myComp.width, myComp.height,1);
mySolid.startTime = 0
myEffect = mySolid.property("Effects").addProperty("Ramp");
app.endUndoGroup();
@aescripts
aescripts / Add Solid with Ramp.jsx
Created November 27, 2017 23:34
Kiyaga edwin #AfterEffects #Script #KBar Create solid named background with a ramp effect
//Create solid named background with a ramp effect
myComp = app.project.activeItem;
app.beginUndoGroup("Add Ramp")
mySolid = myComp.layers.addSolid([0,.8,.4], "BG", myComp.width, myComp.height,1);
mySolid.startTime = 0
myEffect = mySolid.property("Effects").addProperty("Ramp");app.endUndoGroup();
@aescripts
aescripts / Reveal Layers in Project.jsx
Created November 27, 2017 23:33
François Tarlier #AfterEffects #Script #KBar Reveal the source item in project of each selected layers
//Reveal the source item in project of each selected layers
var proj = app.project;
var comp = proj.activeItem;
if(comp){
var selectedLayers = comp.selectedLayers;
if(selectedLayers.length > 0){
for(var l = 0 ; l < selectedLayers.length ; l++){
selectedLayers[l].source.selected = true;
}
@aescripts
aescripts / Pseudo Onion Skin.jsx
Last active February 14, 2023 05:34
Nik Ska #AfterEffects #Script #KBar Applies Echo effect to selected layers with settings that work like onion Skin from Adobe Flash.
// Applies Echo effect to selected layers with settings that work like onion Skin from Adobe Flash.
var activeComp = app.project.activeItem;
if(activeComp){
var selLayers = activeComp.selectedLayers;
for(var i = 0; i< selLayers.length; i++){
var echoEffect = selLayers[i]("Effects").addProperty("Echo");
echoEffect(2).setValue(9); //Adjust EchoTime
echoEffect(4).setValue(.5); //Adjust Decay
}
@aescripts
aescripts / Precompose layers with current in-out.jsx
Created November 27, 2017 23:30
Nik Ska #AfterEffects #Script #KBar Add all selected comps to render queue with selected preset
/*
Add all selected comps to render queue with selected preset
*/
var templatename = "qt_Animation_imprtRplc"; //choose a template name you have on your machine
var sel_vids = app.project.selection;
if(sel_vids){
app.beginUndoGroup("Render all")
@aescripts
aescripts / Convert UTF-8 Coding To Eng coding (for georgian Language).jsx
Created November 27, 2017 14:56
Alex Geradze #AfterEffects #Script #KBar Select Text Layer And Run script, paste utf-8 text in prompt dialog an hit OK.
// Select Text Layer And Run script, paste utf-8 text in prompt dialog an hit OK.
// By Alex Geradze 2013
// Based on the codes From Convert.ge
var p = prompt("Type in UNICODE Text...", "");
//alert(p);
_eng_=new Array(
96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63,
@aescripts
aescripts / Solid with Plexus 2 effect.jsx
Last active November 27, 2017 14:55
Serge Step #AfterEffects #Script #KBar Add solid with Plexus effect
// Add solid with Plexus 2 effect.
var comp = app.project.activeItem;
comp.layers.addSolid([255/255,75/255,0/255],"Plexus",comp.width,comp.height,comp.pixelAspect,comp.duration);
var comp = app.project.activeItem;
if(comp && comp.selectedLayers.length > 0){
for(var i = 0 ; i < comp.selectedLayers.length ; i++){
var layer = comp.selectedLayers[i];
var fx = layer.Effects.addProperty('RWB PLEXUS TWO');
fx.property(String('RWB PLEXUS TWO-0002')).setValue([0]);
@aescripts
aescripts / Set to Average Position (Expression-Based).jsx
Created November 27, 2017 14:53
Zack Lovatt #AfterEffects #Script #KBar First, select the two layers that you want to get the average of. Then, select the third layer that you want to apply this to. Trigger the button and this will add in an expression on the third layer's position as a live average between the position of the first two layers.
/*
First, select the two layers that you want to get the average of.
Then, select the third layer that you want to apply this to.
Trigger the button and this will add in an expression on the third layer's position as a live average between the position of the first two layers.
*/
var thisComp = app.project.activeItem;
var userLayers = thisComp.selectedLayers
var layer1 = userLayers[0];