Hi,
I’m developing a UXP panel for Premiere Pro (well, ChatGPT is doing the work…) that manipulates sequence audio clips. The goal of this plugin is to keep only mono or only stereo audio clips in each track.
Currently, I can read and modify clip parameters (volume, enable/disable, etc.), but I can’t:
-
Move an audio clip to another track programmatically
→ The existingcreateMoveAction()orcreateCloneTrackItemAction()methods either throw “Illegal Parameter type” or are unavailable for audio track items. -
Delete disabled clips from the sequence
→ There’s no exposed UXP equivalent of the ExtendScriptTrackItem.remove()method.
So right now, I can copy a clip from a track to another, but I cannot erase the original clip. Anyone knows a work around ? Other wise, is there a way for :
-
A reliable
moveToTrack(targetTrackIndex)or similar action for audio clips -
A
remove()ordelete()API forTrackItemobjects in UXP