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 );
|
//setFPS( my_comp, 24 );
|
||||||
//setCompsFPS( 12 );
|
//setCompsFPS( 12 );
|
||||||
|
|
||||||
//new_size = [ 4096, 2048 ];
|
var my_comp = getSelectedProjectItems()[0];
|
||||||
|
new_size = [ 3840, 2160 ];
|
||||||
|
resizeCompCanvasCentered( my_comp, new_size, true )
|
||||||
|
|
||||||
//selectLayersByParented( false );
|
//selectLayersByParented( false );
|
||||||
|
|
||||||
//resizeCompCanvasCentered( my_comp, new_size, true )
|
|
||||||
|
|
||||||
//alert(system.callSystem("whoami"))
|
//alert(system.callSystem("whoami"))
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ function getSelectedProjectComps(){
|
|||||||
}
|
}
|
||||||
return items;
|
return items;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getAllProjectComps(){
|
function getAllProjectComps(){
|
||||||
var items = [];
|
var items = [];
|
||||||
var p = app.project;
|
var p = app.project;
|
||||||
@@ -33,7 +32,6 @@ function getAllProjectComps(){
|
|||||||
}
|
}
|
||||||
return items;
|
return items;
|
||||||
}
|
}
|
||||||
|
|
||||||
function selectLayersByParented( isParented ){
|
function selectLayersByParented( isParented ){
|
||||||
layersToSelect = getLayersByParented( isParented );
|
layersToSelect = getLayersByParented( isParented );
|
||||||
for ( var i = 0; i < layersToSelect.length; i ++ ){
|
for ( var i = 0; i < layersToSelect.length; i ++ ){
|
||||||
@@ -74,7 +72,6 @@ function setFPS( comp, newFPS ){
|
|||||||
comp.frameDuration = 1/newFPS;
|
comp.frameDuration = 1/newFPS;
|
||||||
};
|
};
|
||||||
function setDuration( myComp, newSecondsDuration ){
|
function setDuration( myComp, newSecondsDuration ){
|
||||||
|
|
||||||
};
|
};
|
||||||
function setDurationInFrames( myComp, newFrameDuration ){
|
function setDurationInFrames( myComp, newFrameDuration ){
|
||||||
//myComp.
|
//myComp.
|
||||||
@@ -109,7 +106,6 @@ function resizeCompCanvasCentered( my_comp, new_size, keep_scaler ){
|
|||||||
}
|
}
|
||||||
//app.endUndoGroup();
|
//app.endUndoGroup();
|
||||||
}
|
}
|
||||||
|
|
||||||
function resizeCompsCanvasCentered( new_size, keep_scaler ){
|
function resizeCompsCanvasCentered( new_size, keep_scaler ){
|
||||||
app.beginUndoGroup("Resize Comps' Canvas Centered")
|
app.beginUndoGroup("Resize Comps' Canvas Centered")
|
||||||
var my_comps = getSelectedProjectItems();
|
var my_comps = getSelectedProjectItems();
|
||||||
@@ -120,7 +116,6 @@ function resizeCompsCanvasCentered( new_size, keep_scaler ){
|
|||||||
}
|
}
|
||||||
app.endUndoGroup();
|
app.endUndoGroup();
|
||||||
}
|
}
|
||||||
|
|
||||||
function setCompsFPS( newFPS ){
|
function setCompsFPS( newFPS ){
|
||||||
app.beginUndoGroup("Change selected Comps' framerates");
|
app.beginUndoGroup("Change selected Comps' framerates");
|
||||||
var my_comps = getSelectedProjectItems();
|
var my_comps = getSelectedProjectItems();
|
||||||
@@ -130,14 +125,12 @@ function setCompsFPS( newFPS ){
|
|||||||
}
|
}
|
||||||
app.endUndoGroup();
|
app.endUndoGroup();
|
||||||
}
|
}
|
||||||
|
|
||||||
function zeroOutLayer( myLayer ){
|
function zeroOutLayer( myLayer ){
|
||||||
myLayer.position.setValue([0,0]);
|
myLayer.position.setValue([0,0]);
|
||||||
myLayer.rotation.setValue(0);
|
myLayer.rotation.setValue(0);
|
||||||
myLayer.anchorPoint.setValue([0,0]);
|
myLayer.anchorPoint.setValue([0,0]);
|
||||||
myLayer.scale.setValue([100,100]);
|
myLayer.scale.setValue([100,100]);
|
||||||
}
|
}
|
||||||
|
|
||||||
function insertAt( text , insertText, pos ){
|
function insertAt( text , insertText, pos ){
|
||||||
var myText = text;
|
var myText = text;
|
||||||
var insertText = insertText;
|
var insertText = insertText;
|
||||||
@@ -150,7 +143,6 @@ function insertAt( text , insertText, pos ){
|
|||||||
}
|
}
|
||||||
return newText
|
return newText
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Extra for renaming tool, insert stringA
|
/* Extra for renaming tool, insert stringA
|
||||||
into specified position of stringB.*/
|
into specified position of stringB.*/
|
||||||
function insertAtSelectedItemsNames( text, pos){
|
function insertAtSelectedItemsNames( text, pos){
|
||||||
|
|||||||
Reference in New Issue
Block a user