CEP-Resources
CEP-Resources copied to clipboard
Adobe Audition and CEP
Hi there,
I searched for quite a time and even tried various Guessed, but I was unable to find out:
- how to open/add a File to Audion via CEP?
- in PhotoShop, it would be "app.open" (but thats undefined")
- in Premiere it would be app.project.importFiles, but there is no "app.project"
- I was unable to find out how this works here and I couldnt find any kind of Documentation for Audition.
- The next Part would be - how to save a File from CEP? Is there a way to, lets say, save it "as mp3"?
Is there anyone, who can point me in the right Direction or has a link to a Sample or propper Docs?
Thanks for your Help. Christoph
I think a mix of this panel sample and Property Explorer extension will help you.
E.g. here I invoke open file command:
app.invokeCommand(Application.COMMAND_FILE_OPEN)
Did you figure this out? I'm trying to either open a new document or change the path of an existing one? I don't see how I can pass a path to invokeCommand
. I have to bring up a dialog box which I don't want.
The answer was the following for other lost souls like myself.
function importPath(path) {
var openParam = new DocumentOpenParameter();
openParam.path = path;
var newDoc = app.openDocument(openParam)
}
FYI, most of the documentation is in "Object Model Viewer" from Adobe ExtendScriptToolkit.