Copy link to clipboard
Copied
Hi,
I am using the Premiere Pro CC 2019,
and I want to create a plugin in the File - Export list, for export my special personal format file.
I tried to read the SDK guide and also find the solution on google or youtube, but i still can not find the using way of the SDK to make this, I tried to build the sdk example file to find some way but failed. My computer tell me i dont have cuda (But i am using MacBook Pro), or my .prm file is not a valid 32 file (on another computer of Windows x64)……
I am very confused that what I should do now, if someone can provide me a video clip to know how to develop the export tool? Or if someone can tell me what should i do in a right way?
THANK YOU!!!!!
TUT……
Copy link to clipboard
Copied
Start from the SDK_Exporter sample project, and modify it to support your file format instead.
> I tried to build the sdk example file to find some way but failed.
We'd be happy to help, if you can provide a lot more specifics about each failure...?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
You can do that using PPro's ExtendScript API.
Here's a link to the PProPanel sample, which exports an FCP XML for the current sequence.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
In PPro, you cannot. However, CEP panels can invoke command lines; see CEP HTML Test Panel.
Copy link to clipboard
Copied
I have a step code in python, and i want to call it in ESTK. If is there another way to call python build's exec file?
Copy link to clipboard
Copied
Again, not from within ExtendScript. CEP panels, from which most ExtendScript is executed, can invoke a command line.
Here's a snippet of JavaScript (not ExtendScript) panel code, that asks the user to pick a file, and then invokes a python script to operate on that file.
function processMoGRT (){
var csInterface = new CSInterface();
var OSVersion = csInterface.getOSInformation();
var filetypes = new Array();
filetypes[0] = "mogrt";
var result = window.cep.fs.showOpenDialog(false,false,"Select a .mogrt file", "~/Desktop",filetypes);
var mogrtPath = result.data[0];
var extPath = csInterface.getSystemPath(SystemPath.EXTENSION);
var sep = "/";
if (OSVersion.indexOf("Windows") > 0){
sep = "\\\\";
}
var mogrtParentPath = mogrtPath.substring(0, mogrtPath.lastIndexOf(sep));
var pyPath = extPath + sep + 'Foiltop.py';
var processResult = window.cep.process.createProcess("usr/bin/python", pyPath, mogrtPath);
if (OSVersion.indexOf("Windows") >=0){
window.cep.process.createProcess("C:\\Windows\\explorer.exe", mogrtParentPath);
} else {
window.cep.process.createProcess("/usr/bin/open", mogrtParentPath);
}
var resultFileName = mogrtParentPath + sep + "Foiltop_results.txt";
var resultFileContents = window.cep.fs.readFile(resultFileName);
if (0 === result.err) {
alert(resultFileContents.data);
} else {
alert("Failed to read results file.");
}
Find more inspiration, events, and resources on the new Adobe Community
Explore Now