32 Replies Latest reply on Aug 31, 2016 12:04 PM by Bruce Bullis

    How to invoke JavaScript/ExtendScript for Premiere Pro CC in Mac OS

    Premiopolis Level 1

      Looking for a way to run JavaScript aka ExtendScript in Premiere Pro CC

       

      Here's what I've got for other Adobe Apps, using AppleScript:

       

      tell application "Adobe After Effects CC 2015"
        activate
        set SomeExtendScript to "ThisVariable='Runs This Js Code';"
        DoScript SomeExtendScript
      end tell
      
      
      tell application "Adobe Photoshop CC 2015.5"
        activate
        set SomeExtendScript to "ThisVariable='Runs This Js Code';"
        do javascript SomeExtendScript
      end tell
      
      
      tell application "Adobe Illustrator"
        activate
        set SomeExtendScript to "ThisVariable='Runs This Js Code';"
        do javascript SomeExtendScript
      end tell
      

       

      But so far nothing for Premiere.

      tell application "Adobe Premiere Pro CC 2015"
        activate
        set SomeExtendScript to "ThisVariable='Runs This Js Code';"
        -- Does not work: DoScript SomeExtendScript
        -- Does not work: do javascript SomeExtendScript
        -- Does not work: do script SomeExtendScript
      end tell