Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

Call After Effects JSX (ExtendScript) from Python

New Here ,
May 22, 2018 May 22, 2018

Hello,

I was wondering if it was possible to call a After Effects ExtendScript from Python?

I was wondering if there was a library/wrapper available?

Thanks!

TOPICS
Scripting
1.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Sep 08, 2018 Sep 08, 2018

On Windows, try this:

import os

mycmd = r'"C:\Program Files\Adobe\Adobe After Effects CC 2014\Support Files\afterfx.exe" -r C:\Users\Username\MyScripts\AE\script.jsx'

print(mycmd)

os.system(mycmd)

That works for me.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 15, 2023 Mar 15, 2023
LATEST

Thank you so much johnt53984649 , i've looking for quite sometime. i couldn't find it anywhere

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines