mirror of
https://github.com/jorgevasquezp/AE_Scripts.git
synced 2026-08-16 15:31:06 +00:00
Removed some whitespace in the library file.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
.DS_Store
|
||||
.vscode
|
||||
@@ -105,11 +105,13 @@ consolidateSelectedComps();
|
||||
//setFPS( my_comp, 24 );
|
||||
//setCompsFPS( 12 );
|
||||
|
||||
//new_size = [ 4096, 2048 ];
|
||||
var my_comp = getSelectedProjectItems()[0];
|
||||
new_size = [ 3840, 2160 ];
|
||||
resizeCompCanvasCentered( my_comp, new_size, true )
|
||||
|
||||
//selectLayersByParented( false );
|
||||
|
||||
//resizeCompCanvasCentered( my_comp, new_size, true )
|
||||
|
||||
|
||||
//alert(system.callSystem("whoami"))
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@ function getSelectedProjectComps(){
|
||||
}
|
||||
return items;
|
||||
}
|
||||
|
||||
function getAllProjectComps(){
|
||||
var items = [];
|
||||
var p = app.project;
|
||||
@@ -33,7 +32,6 @@ function getAllProjectComps(){
|
||||
}
|
||||
return items;
|
||||
}
|
||||
|
||||
function selectLayersByParented( isParented ){
|
||||
layersToSelect = getLayersByParented( isParented );
|
||||
for ( var i = 0; i < layersToSelect.length; i ++ ){
|
||||
@@ -74,7 +72,6 @@ function setFPS( comp, newFPS ){
|
||||
comp.frameDuration = 1/newFPS;
|
||||
};
|
||||
function setDuration( myComp, newSecondsDuration ){
|
||||
|
||||
};
|
||||
function setDurationInFrames( myComp, newFrameDuration ){
|
||||
//myComp.
|
||||
@@ -109,7 +106,6 @@ function resizeCompCanvasCentered( my_comp, new_size, keep_scaler ){
|
||||
}
|
||||
//app.endUndoGroup();
|
||||
}
|
||||
|
||||
function resizeCompsCanvasCentered( new_size, keep_scaler ){
|
||||
app.beginUndoGroup("Resize Comps' Canvas Centered")
|
||||
var my_comps = getSelectedProjectItems();
|
||||
@@ -120,7 +116,6 @@ function resizeCompsCanvasCentered( new_size, keep_scaler ){
|
||||
}
|
||||
app.endUndoGroup();
|
||||
}
|
||||
|
||||
function setCompsFPS( newFPS ){
|
||||
app.beginUndoGroup("Change selected Comps' framerates");
|
||||
var my_comps = getSelectedProjectItems();
|
||||
@@ -130,14 +125,12 @@ function setCompsFPS( newFPS ){
|
||||
}
|
||||
app.endUndoGroup();
|
||||
}
|
||||
|
||||
function zeroOutLayer( myLayer ){
|
||||
myLayer.position.setValue([0,0]);
|
||||
myLayer.rotation.setValue(0);
|
||||
myLayer.anchorPoint.setValue([0,0]);
|
||||
myLayer.scale.setValue([100,100]);
|
||||
}
|
||||
|
||||
function insertAt( text , insertText, pos ){
|
||||
var myText = text;
|
||||
var insertText = insertText;
|
||||
@@ -150,7 +143,6 @@ function insertAt( text , insertText, pos ){
|
||||
}
|
||||
return newText
|
||||
}
|
||||
|
||||
/* Extra for renaming tool, insert stringA
|
||||
into specified position of stringB.*/
|
||||
function insertAtSelectedItemsNames( text, pos){
|
||||
|
||||
Reference in New Issue
Block a user