09 September 2012 | |
![]() |
|
New Member
portfolio
michael
You'll forgive me if I don't tell you right away...,
USA
|
Scripting OUTSIDE the program?
Hello,
I've been searching Google for a bit to try to dig up info on Adobe AfterEffects scripting, but I can't find the answer to a crucial question: Is there a way to run a script programatically? The effect I am going for is rather simple: insert the chosen text, and/or audio, into a specific section of a video, and then have Adobe AfterEffects generate the video from a template file. The text/audio would be selected from separate filenames fed into the script, for example. Is this sort of thing possible? Any tips/ideas/thoughts on this? Thanks! |
09 September 2012 | |
![]() |
|
New Member
portfolio
michael
You'll forgive me if I don't tell you right away...,
USA
|
I found the Adobe After Effects script reference, and I have managed to create a script that modifies a text layer, eg:
There are a number issues that I can't get through, though: * When I run the script using the command line, via afterfx.exe, absolutely nothing happens: "afterfx.exe -r [script file location]". Nothing happens regardless whether AE and the test file is open or not. Why doesn't running the script via command line work? Even a simple alert didn't work. (sending the actual alert command [with "-s"] instead of a script file did work.) * I want to open the file via the script. How do I do this? * I want to either save the file via the script, or render via the script. How do I do this? Thanks! |
09 September 2012 | |
![]() |
|
New Member
portfolio
michael
You'll forgive me if I don't tell you right away...,
USA
|
I figured out everything except loading via the command line. Seems to be problems with relative/absolute paths and spaces?
|
10 October 2012 | |
![]() |
|
Veteran
portfolio
Mathias Möhl
mamoworld
Freiburg,
Germany
|
Hi,
to execute a script from the command line, I usually use full path and it works nice for me. Example: "C:\Program Files\Adobe\Adobe After Effects CS6\Support Files\AfterFX.exe" -r C:\Path\To\My\Script\MyScript.jsx On MacOS you can run an script via Apple Script. __________________
mamoworld.com - tools and tutorials for After Effects |
10 October 2012 | |
![]() |
|
Expert
|
Thread automatically closed
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities Note that as CGTalk Members, you agree to the terms and conditions of using this website. |
Thread Closed share thread |
«
Previous Thread
|
Next Thread
»
|
|
|