Do you know whether it is possible to automatically create Motion Trackers on a layer using ExtendScript?
The issue is that the following commands returns false or error, but I might be misunderstanding something.
'layer' in the following code is correctly selecting my footage layer, which is the only layer in the only composition of the project.
var layer = app.project.item(1).layer(1); var b1 = layer.canAddProperty("ADBE MTrackers"); // b1 = false var b2 = layer.motionTracker.canAddProperty("ADBE MTrackers"); // b2 = false var b3 = layer.motionTracker.canAddProperty("Motion Trackers"); // b3 = false layer.motionTracker.addProperty("Motion Trackers"); // throw error: can not add property with name "Motion Trackers" to this PropertyGroup
Would you know if there is a way to do that? Thanks in advance!
Motion trackers require you pick something in the shot to track. It is not really an Effect, it's a process. I'm not sure what you are trying to automate here but I doubt that there is an option that would apply motion trackers to a layer.
You would be far better off posting your question in the Scripting Forum. You can find it in the Subspaces on this forum.
Thanks Rick for the advice, I'll try to post the question in the Scripting forum.