Hi all — I’m building a UXP panel in Premiere Pro 25.4.0 (Beta) and trying to retrieve the full file path of a selected timeline clip.
So far:
require("premierepro")
loads successfully — and I can log out valid objects likeprojectItem
,getProjectProxyPath()
, etc.- I’m able to access the selected track item in the active sequence and read its clip name with no issues.
- But I cannot get the underlying media path —
projectItem.getMediaPath()
is either missing or fails silently. - I also tried accessing
.app.project.activeSequence
andsequence.getActiveSequence()
but those returnundefined
or are not functions. - The panel has focus, and the timeline is blue-bordered and active.
Questions:
- What is the correct way to get the file path of a selected timeline clip using the UXP
premierepro
API? - Is there a working method to get the active sequence + selected track items + media path from the timeline?
- Can Adobe provide a code example of this workflow using the supported UXP APIs?
Thanks!