Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在MacOS上不使用GUI的情况下从命令行运行After Effects脚本_Macos_Extendscript_After Effects - Fatal编程技术网

在MacOS上不使用GUI的情况下从命令行运行After Effects脚本

在MacOS上不使用GUI的情况下从命令行运行After Effects脚本,macos,extendscript,after-effects,Macos,Extendscript,After Effects,在windows上,我可以使用-noui标志运行它 AfterFX.com -noui -r "c:/script.jsx" 如何在macosx上实现同样的效果 已尝试使用ui运行: tell application "/Applications/Adobe After Effects 2021/Adobe After Effects 2021.app" DoScriptFile "/Users/admin/test/template2

在windows上,我可以使用-noui标志运行它

AfterFX.com -noui -r "c:/script.jsx"
如何在macosx上实现同样的效果

已尝试使用ui运行:

tell application "/Applications/Adobe After Effects 2021/Adobe After Effects 2021.app"
    DoScriptFile "/Users/admin/test/template2.jsx"
end tell
但它甚至在用户界面上也不起作用,而
DoScript“alert('test')”
显示alert