Skip to main content
Participant
March 6, 2018
Answered

Attach proxy through panel Drag & Drop / DnD API in Premiere?

  • March 6, 2018
  • 1 reply
  • 1127 views

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.

This topic has been closed for replies.
Correct answer Bruce Bullis

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.

1 reply

Bruce Bullis
Community Manager
Bruce BullisCommunity ManagerCorrect answer
Community Manager
March 13, 2018

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.

danielp93367241
Participant
April 26, 2018

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.

Bruce Bullis
Community Manager
Community Manager
April 26, 2018

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.