Created
August 9, 2018 20:16
-
-
Save bonsak/26d3d285db67e05def3c3d614c459cf0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #This python script will start AE and run a jsx file in Documents when AE has started. | |
| import subprocess, sys | |
| app = 'C:/Program Files/Adobe/Adobe After Effects CC 2018/Support Files/AfterFX.exe' | |
| subprocess.Popen([app, '-s', "var a = new File('C:/Users/bonsak/Documents/test.jsx'); a.open(); eval(a.read()); app.exitAfterLaunchAndEval = false;"]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment