This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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]; |