Skip to main content
Participating Frequently
September 22, 2023
Answered

EXTENDSCRIPT Premiere Pro QE API find the selected track

  • September 22, 2023
  • 1 reply
  • 1292 views

I want to add a video effect to the selected clip.

 

var selectedClips = app.project.activeSequence.getSelection();
var clip = selectedClips [0];
 var nodeid = clip.nodeId;
 
// USING THE Adobe Premiere Pro QE API to attach a effect to my selectedclip
 
var qeClip = qe.project.getActiveSequence().getVideoTrackAt(0).getItemAt(0);
 
QUESTION:  
 
How can i find my clip in  QE API ?  i can walk all tacks and examen all clips.. but cant find any unique ID  or something to compare it with my selected clip?  i'am looking for a nodeid or somethings that unique for the clip..
 
Please help will be appreciated.
 
 
 
 
 
Correct answer Bruce Bullis

The QE DOM remains unsupported.


Anything returned from the 'vanilla' DOM (like the trackItems returned by app.project.activeSequence.getSelection()), should be presumed to be incompatible with the QE DOM. 


1 reply

Bruce Bullis
Bruce BullisCorrect answer
Legend
September 22, 2023

The QE DOM remains unsupported.


Anything returned from the 'vanilla' DOM (like the trackItems returned by app.project.activeSequence.getSelection()), should be presumed to be incompatible with the QE DOM. 


Participating Frequently
September 22, 2023

Thanks bruce, Okay, i know.. i found a way already..  i walked all the video tracks in the QE DOM  and look for a clip with tthe same name and same in en out points.. For now the works.fine