```
// CreateSeveralTrimmed Adjustment Layers.jsx
// ?June 2008 Lloyd Alvarez http://aescripts.com
//
// Creates a trimmed Adjustment Layer for every one of the selected layers.
// You can define what the prefix name for the adj layer is in the user variables below.
// If you want to include the layer name in the Adj Layer set the variable to 1.
// To not include the layer name set the variable to 0.
// *****Note that AE has a 31 character limit for layer names so the name of the
// adjustment layer will be truncated to the first 31 characters ********
//
//////////////////////////////////////////////////////////////////////
//
// USER VARIABLES:
//
var adjustementLayerPrefix = "Adj Lyr for ";
var addLayerNameAfterPrefix = 1; // 1 for yes, 0 for no
//
//
//////////////////////////////////////////////////////////////////////
var proj = app.project;
var undoStr = "Create Several Trimmed Adj Layers";
if (proj){
var myComp = app.project.activeItem;
if (myComp != null && (myComp instanceof CompItem)){
app.beginUndoGroup(undoStr);
var myLayers = myComp.selectedLayers;
var saveIn = 0;
var saveOut = 0;
for (i=0; i <= myLayers.length-1; i++){
currentLayer = myLayers[i];
saveIn = (currentLayer.stretch < 0) ? currentLayer.outPoint : currentLayer.inPoint;
saveOut = (currentLayer.stretch < 0) ? currentLayer.inPoint : currentLayer.outPoint;
saveIndex = currentLayer.index;
saveName = (addLayerNameAfterPrefix) ? adjustementLayerPrefix + currentLayer.name : adjustementLayerPrefix;
var newAdjLayer = myComp.layers.addSolid([0,0,0], saveName.substring(0, 31) , myComp.width, myComp.height, myComp.pixelAspect, myComp.duration);
newAdjLayer.adjustmentLayer = true;
newAdjLayer.moveBefore(myLayers[i]);
newAdjLayer.inPoint = saveIn
newAdjLayer.outPoint = saveOut;
}
app.endUndoGroup();
} else {
alert("Please select an active comp to use this script");
}
}
else
{
alert("Please open a project first to use this script.");
}
```
- 腳本管理器
- 讀取文件夾內文件
- 層層時間線偏移Sequencer.jsx
- 層層隨機時間偏移
- 文字分離char_separate_1.3
- 分解文字 把一個文字層分成若干個文字層
- 快速導入Smart Import
- 查找與替換字符 Find and Replace Text.jsx
- 層改名Selected_Layers_Renamer.jsx
- 創建燈光為選擇的三維層.jsx
- 創建攝像機為選擇的三維圖層.jsx
- 創建調節圖層CreateTrimmedAdjustmentLayer.jsx
- 創建調節圖層多個CreateSeveralTrimmedAdjustmentLayers.jsx
- 創建一個空物體到選擇的層Add Parented Null to Selected Layers.jsx
- 文字分離DecomposeText
- 修改渲染輸出文件位置Change Render Locations
- AE腳本讀取txt文檔并寫入數組
- AE腳本把數組寫入到txt文檔中
- AE提取字幕腳本
- AE批量用txt內容替換字幕腳本