I am building a UXP plugin for Premiere Pro and need to read/write files in the same directory as the active project. Since UXP operates in a sandbox, I am looking for the most efficient way to handle this.
-
How do I retrieve the active project’s directory as a
storage.FolderorEntryobject? -
Can I gain persistent access to the project’s parent folder without triggering a
filePickerevery time the project opens? -
Are there specific manifest.json permissions (like
localFileSystem) required to interact with sibling files of the project? -
Is it better to use
fs(Node-style) or theuxp.storageAPI for this specific relative-path task?