AE脚本:批量修改合成的时间长度

unction compSetting()
{
myItems = app.project.selection;
if (! myItems)
{
alert(“You have to select some comps in the Project Pannel!”);
return;
}
else
{
for (var i = 0; i < myItems.length; i ++)
{
myItems[i].duration = 20
}
}
}
compSetting();

代码中的20即为你修改后的合成时间。将代码粘贴新建text 中,然后后缀名改成jsx ,在AE软件中脚本调用中打开这个文件即可使用。

展开评论