Skip to content Skip to sidebar Skip to footer

How To Use Terminal Command Using Extendscript Toolkit

I need to use the terminal commands using Javascript on ExtendScript toolkit. For example, using pdffonts command on terminal window. pdffonts ~/Desktop/fontlist.pdf

Solution 1:

If you use After Effects you can simply use:

system.callSystem('Your command');

Or write your command into bat file, and then to use:

new File('path/to/bat/file.bat').execute();//for windows
new File('path/to/bat/file.sh').execute();//for mac

Post a Comment for "How To Use Terminal Command Using Extendscript Toolkit"