I am trying to run Adobe AE extendscript from the command line. I use the argument "-r" and I can run scripts normally. However, is it possible to pass a script argument?
For example, if I ran this from the command line:
C:\>"C:\Program Files\\Adobe\\Adobe After Effects CC\\Support Files\\AfterFX" -r "C:\Workspaces\MyAEScripts\AutomateSetup.jsx" hello
Can I get this "hello" in my AutomateSetup.jsx script? I was looking for time to search and can not find a solution.
, , -s, AfterEffects script. , (Windows cmd):
afterfx.exe -s "var myArg="I'm a string!"; $.evalFile("Your path to script here")"
myArg script, evalFile. , , , . , , script, , ( ).
After Effects, , , , .
- , script, script.
Mac OS X system.callSystem('pwd').
system.callSystem('pwd')
Windows script system.callSystem('cmd.exe /c "echo %cd%"'').
system.callSystem('cmd.exe /c "echo %cd%"'')
Source: https://habr.com/ru/post/1527995/More articles:PHP Punctuation - phpField of additional structure - structHandBrake cuts out all my video - video-encodingCookie is not set until the second update. - javascriptDjango 1.6 + RabbitMQ 3.2.3 + Celery 3.1.9 - why does my celery worker die with: WorkerLostError: The worker came out prematurely: signal 11 (SIGSEGV) - djangoIs there a way to prevent a base class method from being called into an instance of a derived class? - c ++Celery timeout exception on Amazon Elastic Beanstalk using RabbitMQ - djangoCheck if a site uses Basic Auth through AJAX - javascriptWhen using a composer with a private VCS, it infinitely requests authorization - phpChange selected map marker or map marker color? [Ios] - iosAll Articles