Quantcast
Channel: Adobe Community : Popular Discussions - Premiere Pro SDK
Viewing all articles
Browse latest Browse all 53010

Call OS commands via scripting

$
0
0

Is there a way to call OS commands via the Premiere scripting API?

 

Basically I would like to run a python script from within premiere, but I see no way to call a os command.

 

After Effects has the system.callSystem method, which could look something like this:

 

cmd = "from sb_pipeline import folderStructure; print folderStructure()"

// Call the python script.

var s = system.callSystem('python -c ' + '"' +  cmd + '"');

alert(s);

 

 

/Simon


Viewing all articles
Browse latest Browse all 53010

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>