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!
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);
Copy link to clipboard
Copied
+1 Thanks for posting.
Copy link to clipboard
Copied
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);