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

Associate source monitor and project item

Explorer ,
Feb 21, 2018 Feb 21, 2018

Copy link to clipboard

Copied

Hi all!

All I want, is a way to interact with source monitor...

When I say interact, I mean: get Mark in and Mark out from the source monitor window. That's it.

As this happen to be not implemented (as I saw here​ - a post written by Premiopolis), I thought maybe using the metadata that I can retrieve within the projectItem scope.

So, my problem now is: how do I coordinate/associate those 2 objects - source monitor clip and projectItem ??

I know how to import to a Bin with

app.project.importFiles ...

... and I know how to open a file in a source monitor with

qe.source.openFilePath(fileToOpen);

but those won't be the same instance - if I change Mark In or Mark out in the source monitor - the projectItem instance's metadata won't updated with this change.

Anyone have done something similar?

Or have an idea how to accomplish this? Perhaps a workaround, or direction?

Thanks!

TOPICS
SDK

Views

504

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

Adobe Employee , Feb 23, 2018 Feb 23, 2018

There is no direct way to coordinate media from the Source monitor, to a specific projectItem. Not everything in the Source monitor, actually refers to a projectItem.


This will check the project for any items which match a given path.

var ignoreSubClips = 1;

var arrayOfProjectItemsReferencingSomePath = app.project.rootItem.findItemsMatchingMediaPath(path, ignoreSubClips);

Votes

Translate

Translate
Enthusiast ,
Feb 21, 2018 Feb 21, 2018

Copy link to clipboard

Copied

+1 Thanks for posting.

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
Adobe Employee ,
Feb 23, 2018 Feb 23, 2018

Copy link to clipboard

Copied

LATEST

There is no direct way to coordinate media from the Source monitor, to a specific projectItem. Not everything in the Source monitor, actually refers to a projectItem.


This will check the project for any items which match a given path.

var ignoreSubClips = 1;

var arrayOfProjectItemsReferencingSomePath = app.project.rootItem.findItemsMatchingMediaPath(path, ignoreSubClips);

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