No internet connection
  1. Home
  2. Macro and Script Help

UI Element Selection Not Working for AudioSuite

By Rhett Samuel Price @Rhett_Samuel_Price
    2023-05-22 11:33:50.155Z

    Title

    UI Element Selection Not Working for AudioSuite

    What do you expect to happen when you run the script/macro?

    After running fairly well with the prior version of Soundflow, now with 5.3.2 ALL scripts of this nature fail. I get the following error message whether its entire selection; create individual files; or clip by clip. The script will not select the appropriate settings to send the clip(s) to iZotope:

    22.05.2023 03:29:15.25 [Backend]: !! Command Error: Send to iZotope - Entire Selection, Continuous File [user:ckp49i4j60000a2100yfwywgf:ckoo6m5ex000wyj10loiyjk7y#ckoolme050012yj10yts4atb3]:
    Could not select create individual files (Send Selected Clip(s) to iZotope: Line 35)
    Could not open popup menu
    Popup menu was not found
    Popup window was not found after waiting 2000 ms

    << Command: Send to iZotope - Entire Selection, Continuous File [user:ckp49i4j60000a2100yfwywgf:ckoo6m5ex000wyj10loiyjk7y#ckoolme050012yj10yts4atb3]

    I'm not a script person and I'm getting frustrated.

    Are you seeing an error?

    22.05.2023 03:29:15.25 [Backend]: !! Command Error: Send to iZotope - Entire Selection, Continuous File [user:ckp49i4j60000a2100yfwywgf:ckoo6m5ex000wyj10loiyjk7y#ckoolme050012yj10yts4atb3]: Could not select create individual files (Send Selected Clip(s) to iZotope: Line 35) Could not open popup menu Popup menu was not found Popup window was not found after waiting 2000 ms

    << Command: Send to iZotope - Entire Selection, Continuous File [user:ckp49i4j60000a2100yfwywgf:ckoo6m5ex000wyj10loiyjk7y#ckoolme050012yj10yts4atb3]

    What happens when you run this script?

    It says either "cannot select clip by clip" or "cannot select continuous file". If one or the other has been previously selected, nothing can be selected. Even when runining "Breath Control" which I created using the UI Elements picker, it will now say, "Unable to select" whichever UI element I want it to select.

    How were you running this script?

    I clicked the "Run Script" or "Run Macro" button in SoundFlow

    How important is this issue to you?

    5

    Details

    {
        "inputExpected": "After running fairly well with the prior version of Soundflow, now with 5.3.2 ALL scripts of this nature fail. I get the following error message whether its entire selection; create individual files; or clip by clip. The script will not select the appropriate settings to send the clip(s) to iZotope:\n\n22.05.2023 03:29:15.25  [Backend]: !! Command Error: Send to iZotope - Entire Selection, Continuous File [user:ckp49i4j60000a2100yfwywgf:ckoo6m5ex000wyj10loiyjk7y#ckoolme050012yj10yts4atb3]:\nCould not select create individual files (Send Selected Clip(s) to iZotope: Line 35)\n    Could not open popup menu\n    Popup menu was not found\n    Popup window was not found after waiting 2000 ms\n\n<< Command: Send to iZotope - Entire Selection, Continuous File [user:ckp49i4j60000a2100yfwywgf:ckoo6m5ex000wyj10loiyjk7y#ckoolme050012yj10yts4atb3]\n\nI'm not a script person and I'm getting frustrated.",
        "inputIsError": true,
        "inputError": "22.05.2023 03:29:15.25  [Backend]: !! Command Error: Send to iZotope - Entire Selection, Continuous File [user:ckp49i4j60000a2100yfwywgf:ckoo6m5ex000wyj10loiyjk7y#ckoolme050012yj10yts4atb3]:\nCould not select create individual files (Send Selected Clip(s) to iZotope: Line 35)\n    Could not open popup menu\n    Popup menu was not found\n    Popup window was not found after waiting 2000 ms\n\n<< Command: Send to iZotope - Entire Selection, Continuous File [user:ckp49i4j60000a2100yfwywgf:ckoo6m5ex000wyj10loiyjk7y#ckoolme050012yj10yts4atb3]",
        "inputWhatHappens": "It says either \"cannot select clip by clip\" or \"cannot select continuous file\". If one or the other has been previously selected, nothing can be selected. Even when runining \"Breath Control\" which I created using the UI Elements picker, it will now say, \"Unable to select\" whichever UI element I want it to select.",
        "inputHowRun": {
            "key": "-MpfwYA4I6GGlXgvp5j1",
            "title": "I clicked the \"Run Script\" or \"Run Macro\" button in SoundFlow"
        },
        "inputImportance": 5,
        "inputTitle": "UI Element Selection Not Working for AudioSuite"
    }

    Source

    
    const connectNames = [
        'RX 10 Connect',
        'RX 9 Connect',
        'RX 8 Connect',
        'RX 7 Connect',
        'RX 6 Connect',
    ];
    
    function getConnectWindow() {
        /**@type {AxPtAudioSuiteWindow} */
        var win;
        for (let connectName of connectNames) {
            win = sf.ui.proTools.getAudioSuiteWindow(connectName);
            if (win && win.exists) return win;
        }
        //Now try opening
        for (let connectName of connectNames) {
            if (sf.ui.proTools.getMenuItem('AudioSuite', 'Noise Reduction', connectName).exists) {
                win = sf.ui.proTools.audioSuiteOpenPlugin({
                    category: 'Noise Reduction',
                    name: connectName
                }).window;
                if (win) return win;
            }
        }
        throw "iZotope RX (6-10) Connect not installed, or you are not sorting plugins by Category";
    }
    
    var win = getConnectWindow();
    win.audioSuiteSetOptions({ processingInputMode: 'ClipByClip', processingOutputMode: 'CreateIndividualFiles' });
    win.getFirstWithTitle("Analyze").elementClick();
    
    

    Links

    User UID: XWbksG0UXMYCLSaHNNZ6iQHCF5P2

    Feedback Key: sffeedback:XWbksG0UXMYCLSaHNNZ6iQHCF5P2:-NW2E9qZhYXNYj7YZCt8

    Feedback ZIP

    • 0 replies