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

Selecting multiple project items

Explorer ,
Mar 24, 2017 Mar 24, 2017

Copy link to clipboard

Copied

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

TOPICS
SDK

Views

147

Likes

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 , Sep 08, 2022 Sep 08, 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


Likes

Translate

Translate
New Here ,
Sep 07, 2022 Sep 07, 2022

Copy link to clipboard

Copied

looking for the same answer

Likes

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 ,
Sep 08, 2022 Sep 08, 2022

Copy link to clipboard

Copied

LATEST

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/PPR...


Likes

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