Copy link to clipboard
Copied
I have a panel which allows users to attach files from an external system. I am implementing the drag & drop API to allow this for user convenience (there is also an add button).
For reference it is the following code:
event.dataTransfer.setData('com.adobe.cep.dnd.file.0', [path to clip]);
What I am curious about is if there is a way using the setData method to attach the proxy path for a given asset? The system I am working with generates its own proxies and being able to do this could make loading over slow connections work better. I tried a few things but it always seems to add it as a separate clip in the library instead of attaching it to the main clip.
There's no way to pass PPro anything other than an array of file paths, via drag-n-drop.
Spoiler alert: That won't change in the foreseeable future.
For establishing full control of what happens around file import (attach proxy? set metadata? destination bin?), we recommend a "check some boxes, then click an Import button" approach.
Fun Fact™: Panels aside, dragging-and-dropping files into PPro can generate at least three different behaviors, depending on the drag destination:
Source Monitor: op
...Copy link to clipboard
Copied
There's no way to pass PPro anything other than an array of file paths, via drag-n-drop.
Spoiler alert: That won't change in the foreseeable future.
For establishing full control of what happens around file import (attach proxy? set metadata? destination bin?), we recommend a "check some boxes, then click an Import button" approach.
Fun Fact™: Panels aside, dragging-and-dropping files into PPro can generate at least three different behaviors, depending on the drag destination:
Source Monitor: open in Source monitor, DO NOT import into project.
Project panel: Import file into project, into an arbitrary bin or root of project.
Timeline panel: Import file into project, add to sequence.
Copy link to clipboard
Copied
Is there anyway to pass an image sequence to PPro via drag-n-drop?
I'm also working on a panel that allows users to import footage, and the ability to import image sequences would be extremely helpful.
Copy link to clipboard
Copied
No, there's no place in drag-n-drop messaging to indicate that the files should be interpreted as an image sequence.
PPro's ExtendScript API _does_ support the importing of image sequences.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now