Yes, for scripting!
Can you help me, what’s this attributes?
For example on this code:
var selectedLayers = app.project.activeItem.selectedLayers;
for (i = 0; i < selectedLayers.length; i++)
{
test(selectedLayers[i]);
}
function test(thisLayer)
{
var spl = thisLayer.selectedProperties.length;
try
{
var selectedKeys = 1;//first keyframe
var newKeyTime = 2;// secounds 2 for example
thisKeyValue = thisLayer.selectedProperties[spl-1].keyValue(selectedKeys);
//*** Add all the attributes But I don't know what?!
thisLayer.selectedProperties[spl-1].removeKey(selectedKeys);//delete old keyframe
//*** Copy values to ney keyframe
thisLayer.selectedProperties[spl-1].setValueAtTime(newKeyTime , thisKeyValue);
}
catch (err) {
alert(err);
}
}
Thank you