We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.
Copy link to clipboard
Hello,I'm having trouble developing a script in Premiere Pro. I'm asking because I couldn't find a solution by searching.
Is there a way to get all selected track items in a Premiere Pro sequence at once?
For example, is it possible to get selected track items at a similar speed to selectedLayers in Adobe After Effects?
There are workarounds like trackItem's isSelected() method, but it's too slow to use in real-time as accessing one selected clip requires evaluating true/false for the entire track's track items.
From what I've searched, there doesn't seem to be a way around this in the current script.
If it can't be solved at the script level, is there a way to solve it in the Premiere Pro Plugin SDK (C++)?
Requires the same properties or methods as selectedLayers in Adobe After Effects. Is there a quick way to get the index of the track and the index of the selected track item?
Developers, I would appreciate it if you could tell me that this is impossible if it is in an impossible form.
If you want to solve this problem, but it is not possible, you want to limit functionality or stop developing the tool.
Please help me~
The isSelected() method isn't a work-around; it's provided for exactly this purpose. I'm not sure how one would evaluate all trackItems, without evaluating each trackItem...?There is no C++ API around track item selection.