【AE脚本】NT – 批量导入表达式(位置、缩放、不透明度)

[sc name="zhuanzai" author="NT" link="https://github.com/NTProductions/basic-expression-injector/blob/master/Expression%20Injector.jsx" ][/sc]

备注:我稍微改了下文字编辑区

【AE脚本】NT - 批量导入表达式(位置、缩放、不透明度)

//UI 构建
var mainWindow = new Window("palette", "表达式插入器", undefined);
mainWindow.orientation = "column";

// 下拉菜单
var groupOne = mainWindow.add("group", undefined, "groupOne");
groupOne.orientation = "row";
groupOne.alignment = "left";
var dropDown = groupOne.add("dropdownlist", undefined, ["位置", "缩放", "不透明度"]);
dropDown.selection = 0;
// 表达式编辑区
var groupTwo = mainWindow.add("group", undefined, "groupTwo");
groupTwo.orientation = "row";
var expressionText = mainWindow.add('edittext {size: [200,80], properties: {name: "expressionText", multiline: true}}');
expressionText.text = "请输入表达式";

// 应用按钮
var groupThree = mainWindow.add("group", undefined, "groupThree");
groupThree.orientation = "row";
groupThree.alignment = "right";
var applyButton = groupThree.add("button", undefined, "应用表达式");

mainWindow.center();
mainWindow.show();

applyButton.onClick = function () {
    if (app.project.activeItem.selectedLayers.length 

给TA充电
共{{data.count}}人
人已充电
AE开发脚本开发

【AE脚本】connect-with-path 图层与路径连接 还没研究

2021-9-6 14:36:37

AE开发脚本开发

【脚本演示】修改纯色层尺寸为1920*1080

2020-4-8 21:21:06

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
今日签到
搜索