I´d like to execute the following task with a Panel:
• render the active sequence
• when finished send the output video file to another application using Apple Script
The Panel SDK Examples are a great start. So the missing part is, how can I send a shell command that executes an AppleScript?
In the ExtendScript Toolkit I found a function that looks promising. But executing this script only pops up an alert window saying "failed". Here´s the code:
var test = UIAutomationSupport.helper.executeConsoleCommand("ls -l");
So does Premiere has an equivalent function like system.callSystem() in After Effects?
[I referred Thomas to the helpful CreateProcess() function, in CEP.]
Bruce, thanks for your support!
For those who are interested what bbb_999 refers to, here is how you can execute a shell command (in the example I use "osascript" to launch an AppleScript file):
In your html file you simply write these simple lines of code
var result = window.cep.process.createProcess('/usr/bin/osascript','/Users/myUserName/Desktop/test.scp t');
The first argument of createProcess() is the path to the shell tool.
That´s all. Hope this helps others.