Skip to main content
Known Participant
July 13, 2015
Answered

Get info for clip loaded in source monitor using ExtendScript

  • July 13, 2015
  • 2 replies
  • 2760 views

Hello,

So, the short version: I was wondering if there's a way to get information about the clip currently loaded in the source monitor using ExtendScript. Specifically, I'd be interested in the name, starting timecode, and in/out points. I don't see anything obvious in the Data Browser in ExtendScript Toolkit, but I thought I would ask.

The long version of what I'm trying to do: I have a clip in the source monitor that I know is in the active sequence. I'd like to take the in/out points of the source clip and set those as in/out points in the sequence. This is sort of a hack to get around the fact that you can't associate speech analysis with a multicam clip so I'm cutting with one of the audio clips in the multicam clip and then I'm trying to translate those edit points to the multicam sequence. I have a way to do it with an AppleScript macro, but I'd like to find a more robust (and cross-platform) solution.

Thanks!

This topic has been closed for replies.
Correct answer Bruce Bullis

There's no capability to get back from a Source monitor item to the actual projectItem, in PPro CC 2015.

However, you wouldn't be the first to request such functionality, and (ahem) I can neither confirm nor deny that it may be added in the near future.

2 replies

Premiopolis
Inspiring
October 11, 2017

Is there any progress on this request?  Would love to be able to the project item based on what's loaded in the Source or Program Panel.  Anything under the hood of app.enableQE?

Bruce Bullis
Community Manager
Community Manager
October 11, 2017

I have no publicly available news on that front.

Partial workaround = get the path from the Source monitor, then use app.project.findItemsMatchingMediaPath() to find related projectItems.

Inspiring
February 21, 2018

1. There's no way to intercept the handling, of those functions.
2. No.
3. Not directly, though you can get the path from the projectItem, and open that. Feature requested.


https://forums.adobe.com/people/Bruce+Bullis  wrote

1. There's no way to intercept the handling, of those functions.

I'm not sure you answered my question: I didn't ask about "listening" to an event of Mark-In or Mark-Out actions, I was just wondering if those points in a clip opened in a source monitor can be retrieved.

Bruce Bullis
Community Manager
Bruce BullisCommunity ManagerCorrect answer
Community Manager
July 15, 2015

There's no capability to get back from a Source monitor item to the actual projectItem, in PPro CC 2015.

However, you wouldn't be the first to request such functionality, and (ahem) I can neither confirm nor deny that it may be added in the near future.

dheidelAuthor
Known Participant
July 15, 2015

Thanks, bbb. I can (ahem) confirm that that would be amazing. The scripting ecosystem that's built up around After Effects over the last few years is incredible. If Premiere got to that same level of scriptability, it would be a killer, and, as far as I know, unique, feature among mainstream NLEs. (And yes, I've filed a feature request).