Skip to main content
Justin Taylor-Hyper Brew
Community Expert
March 14, 2017
Answered

Get Selected Item(s) in Project Panel

  • March 14, 2017
  • 1 reply
  • 4957 views

Going through the examples and documentation, I couldn't find a function or value to tell if a folder or footage item is selected or access that item in the Project Panel of Premiere Pro. Closest thing I found was .select() which only selects the item you have coded. Has anyone had any success with this? Thanks!

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

While PProPanel now shows how to get a message (and all selected projectItems) every time the project selection changes, getting and setting selection are not yet available.

1 reply

Bruce Bullis
Community Manager
Community Manager
March 21, 2017

There is no API around project selections, in current versions of PPro. It's a highly-requested feature.

Justin Taylor-Hyper Brew
Community Expert
November 17, 2017

Any updates on this feature implementation? Thanks!

sberic
Brainiac
November 22, 2017

sberic​ I haven't used TrackItems before. Do they correlate to objects selected in the Project Panel or Timeline? I'm trying to get objects selected in the Project Panel.


justin2taylor  wrote

sberic  I haven't used TrackItems before. Do they correlate to objects selected in the Project Panel or Timeline? I'm trying to get objects selected in the Project Panel.

Whoops! Right, my bad. Those are Timeline APIs, not Project library.

justin2taylor  wrote

Also, I'm only getting up to 2 project item (arguments) at a time from app.bind("onSourceClipSelectedInProjectPanel", function()). Is that a bug, or am I missing something?

This sounds like it's either a bug or an implementation detail. Perhaps it's related to "itemDeselected" and "itemSelected" parameters? If you select multiple at once (select one and then hold shift while clicking one several items lower), do you get multiple callbacks?

Bruce Bullis​, I checked the What's New in 12.0? list of changes but did not see this API mentioned. Bug? Missed addition?