Skip to main content
Inspiring
March 24, 2017
Answered

Selecting multiple project items

  • March 24, 2017
  • 2 replies
  • 389 views

Hi all, I can select a single project item like this:

app.project.rootItem.children[0].select()

Is there a way of selecting multiple items or selecting without clearing the current selection?  Even mores specifically I'd want to set the selection order.

TNKS!

G

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

setProjectViewSelection will select multiple items. Untested speculation: perhaps the order of items in the array, impacts the selection order.

https://github.com/Adobe-CEP/Samples/blob/5490c33ac8355ba394c693deb10414553b0a5685/PProPanel/jsx/PPRO/Premiere.jsx#L1909


2 replies

Bruce Bullis
Bruce BullisCorrect answer
Legend
September 8, 2022

setProjectViewSelection will select multiple items. Untested speculation: perhaps the order of items in the array, impacts the selection order.

https://github.com/Adobe-CEP/Samples/blob/5490c33ac8355ba394c693deb10414553b0a5685/PProPanel/jsx/PPRO/Premiere.jsx#L1909


Known Participant
September 8, 2022

looking for the same answer