I'm new to extension development, so I'm sorry if it's a silly question.
I need to develop a custom panel that displays list of files. (video clips)
What can I use to add(import?) a clip to a current project?
Also is there a documentation on Premiere CS Object Model? I could only find one for Photoshop.
Thanks a lot!
It's not a silly question at all.
AFAIK, Premiere has no scripting support. Of course that makes panels of limited use...
What you can probably do is show the files in the panel and make them available via drag and drop as file assets. Assuming Premiere supports dropping files to add them to the project (which I believe it does) that should work...
Thanks for response. I'll see if I can make it work with drag&drop.
I've just found following function:
Premiere.app.project.importFiles(arg0 : Object) : boolean
but there is no documentation on how to use that and what this function expects as args0
I've tried that call from ESTK - and it worked fine, importing the files into the project.
When I'm try to do the same call from my extension (Flash Builder - mxml, ActionScript), I can see an import progress quickly and then I'm getting File Import Failure - unable to open the file on disk.
Why does it work then? I can put a break point and see all object properties and so on?
Sorry I'm a very new to the Adobe extension building, but is it possible to build a Premier Extension (Panel) with ExtendScript? How do I do that?
There are CSAW libraries for Premiere CS6 (new in Extension Builder 2), which means that you can script it using Actionscript. I haven't got an environment set up where I can try the project.importFiles function out right now, so I'm not sure why it isn't working from Actionscript. I think you should be able to pass in either a File or an Array of File objects.