script not run when use cmd to call afterfx.exe
bat file like this:
"C:/Program Files/Adobe/Adobe After Effects CC 2017/Support Files/AfterFx.exe" -so -noui "var a = new File("D:/Adobe Script/temp.jsx") ; a.open(); alert(a.read());eval(a.read()); app.exitAfterLaunchAndEval = false;"
the temp.jsx will run success in after effects from menu:File->Scripts no matter the script include chinese string inside or not.
But it will fail to exec when use cmd to call afterfx.exe like the command above.
But in another computer it will run success,very strange.Both of the test computers are Win10 professional 64Bit
In an effort to improve communications between you and the After Effects team, we are moving this feedback forum to the After Effects page on the Adobe Support Community. As requested, bugs and feature requests will be able to live separately in that forum. If you have an item here that did not make the migration, please bring it over to our new home.
See you soon on the Adobe Support Forum!
the problem is the JSX file include chinese string or not.