Skip to main content
Participant
November 11, 2023
Answered

Creating extension for Audition

  • November 11, 2023
  • 1 reply
  • 1116 views

Hello! I have been trying to write a small extension for Adobe Audition 2024 on my M2 Mac

 

I'm new to CEP extensions and extendscript but I used to write similar scripts for Cool Edit Pro (which was bought by Adobe and turned into Audition as I undertand it)

 

I've gotten as far as to get my code fully working in the ExtendScript Developer Tools extension by opening my JSX file and hitting the 'Run' button. Works great. I am now trying to figure out how I can get my code installed into its own extension so that I can invoke it with a key or panel.

 

I've gone over the CEP resources and various other resources and I now have an extension I would like to test by installing it into my local Adobe Audition install, however I have not found a way to do this. I've found an old reference to an "Add an Extension" option on the Window menu, however that option no longer appears to be in my version.

 

I've also seen in this thread that CEP may be being phased out in favor of 'UXP'. However UXP appears to not be implemented in Audition yet.

 

I'm wondering if anyone in this forum can point me in the right direction regarding how to test my small extension locally in Audition? Many thanks in advance.

    This topic has been closed for replies.
    Correct answer GNDGN

    This is the essential document to get started with CEP:
    https://github.com/Adobe-CEP/Getting-Started-guides

     

    The path to all local CEP extensions is

    /Library/Application Support/Adobe/CEP/extensions

    or

    C:\Program Files\Common Files\Adobe\CEP\extensions

     

    Greate a folder for your extension there and follow the guide above step by step. The key is to wrap the content of your JSX inside a function (e.g. main()) and invoke it from the JS layer of your CEP extension via the CSInterface library like this:

    var csInterface = new CSInterface();
    
    function butMain() {
      csInterface.evalScript("main()");
    }

     

    The above JS function can than be triggered by an HTML button like this:

    <button onclick="butMain()">Run script</button>

     

    1 reply

    GNDGN
    GNDGNCorrect answer
    Inspiring
    November 11, 2023

    This is the essential document to get started with CEP:
    https://github.com/Adobe-CEP/Getting-Started-guides

     

    The path to all local CEP extensions is

    /Library/Application Support/Adobe/CEP/extensions

    or

    C:\Program Files\Common Files\Adobe\CEP\extensions

     

    Greate a folder for your extension there and follow the guide above step by step. The key is to wrap the content of your JSX inside a function (e.g. main()) and invoke it from the JS layer of your CEP extension via the CSInterface library like this:

    var csInterface = new CSInterface();
    
    function butMain() {
      csInterface.evalScript("main()");
    }

     

    The above JS function can than be triggered by an HTML button like this:

    <button onclick="butMain()">Run script</button>

     

    ____________________Robotic Process Automation in Desktop Publishing (Book): https://doi.org/10.1007/978-3-658-39375-5
    mlopus898Author
    Participant
    November 12, 2023

    @GNDGN Thank you! I've got it working now