• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to create Motion Trackers with ExtendScript?

New Here ,
Mar 31, 2017 Mar 31, 2017

Copy link to clipboard

Copied

Hi everyone,

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!

Views

295

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 31, 2017 Mar 31, 2017

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.

Votes

Translate

Translate
Community Expert ,
Mar 31, 2017 Mar 31, 2017

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 03, 2017 Apr 03, 2017

Copy link to clipboard

Copied

LATEST

Thanks Rick for the advice, I'll try to post the question in the Scripting forum.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines