No internet connection
  1. Home
  2. Packages
  3. Dialog Editing iZotope

Izotope RX: Render & Spot Back Into Pro Tools won't work when there's more than one tab in RX

By Dario Ramaglia @dario.ramaglia
    2023-02-10 12:56:23.835Z

    Title

    Izotope RX: Render & Spot Back Into Pro Tools won't work when there's more than one tab in RX

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

    When there's more than one tab in RX the script won't work

    Are you seeing an error?

    10.02.2023 10:46:16.43 [Backend]: !! Command Error: iZotope RX: Render & Spot Back into Pro Tools [user:cjuh7h0c70000lr102o5g680c:-LCCGaRwIfn15Z7ExLP6]: Could not click Send Back button (iZotope RX: Render & Spot Back into Pro Tools: Line 5) ClickButtonAction requires UIElement

    What happens when you run this script?

    The script works if there's only one tab in RX but if there's more than one tab it gives the following error:

    Command Error: iZotope RX: Render & Spot Back into Pro Tools [user:cjuh7h0c70000lr102o5g680c:-LCCGaRwIfn15Z7ExLP6]:
    Could not click Send Back button (iZotope RX: Render & Spot Back into Pro Tools: Line 5)

    How were you running this script?

    I used a keyboard shortcut within the target app

    How important is this issue to you?

    4

    Details

    {
        "inputExpected": "When there's more than one tab in RX the script won't work",
        "inputIsError": true,
        "inputError": "10.02.2023 10:46:16.43  [Backend]: !! Command Error: iZotope RX: Render & Spot Back into Pro Tools [user:cjuh7h0c70000lr102o5g680c:-LCCGaRwIfn15Z7ExLP6]:\nCould not click Send Back button (iZotope RX: Render & Spot Back into Pro Tools: Line 5)\n    ClickButtonAction requires UIElement",
        "inputWhatHappens": "The script works if there's only one tab in RX but if there's more than one tab it gives the following error:\n\nCommand Error: iZotope RX: Render & Spot Back into Pro Tools [user:cjuh7h0c70000lr102o5g680c:-LCCGaRwIfn15Z7ExLP6]:\nCould not click Send Back button (iZotope RX: Render & Spot Back into Pro Tools: Line 5)\n",
        "inputHowRun": {
            "key": "-Mpfwh4RkPLb2LPwjePT",
            "title": "I used a keyboard shortcut within the target app"
        },
        "inputImportance": 4,
        "inputTitle": "Izotope RX: Render & Spot Back Into Pro Tools won't work when there's more than one tab in RX"
    }

    Source

    
    var shuttleBtn = sf.ui.izotope.mainWindow.children.whoseDescription.endsWith('Main Window').first.children.whoseDescription.is("Shuttle").first;
    if (!shuttleBtn.exists)
        shuttleBtn = sf.ui.izotope.mainWindow.children.whoseDescription.is("Shuttle").first;
    shuttleBtn.elementClick({}, "Could not click Send Back button");
    
    sf.wait({ intervalMs: 500 });
    
    sf.ui.proTools.appActivateMainWindow({}, "Could not activate Pro Tools");
    
    var win = sf.ui.proTools.floatingWindows.filter(function(w){ var t = w.title.value; return t.indexOf("Audio Suite: RX") == 0 && t.indexOf("Connect") >= 0 })[0];
    if (!win || !win.exists) throw "Could not find iZotope RX Connect AudioSuite window";
    
    win.buttons.whoseTitle.is("Render").first.elementClick({}, "Could not click Render");
    
    /* Uncomment to close when done
    sf.wait({ intervalMs: 100 });
    sf.ui.proTools.waitForNoModals();
    win.windowClose();
    */
    

    Links

    User UID: 9hzeLf9Z6uYyuYaQX1IilY4YwHW2

    Feedback Key: sffeedback:9hzeLf9Z6uYyuYaQX1IilY4YwHW2:-NNvOUUdFA5pfA5KhV55

    Feedback ZIP

    • 10 replies
    1. S
      SoundFlow Bot @soundflowbot
        2023-02-10 12:56:24.336Z

        Thanks for posting a question or an issue related to the 'Dialog Editing iZotope' package.
        This package is made by @chrscheuer. We're auto-tagging them here so that they will hopefully be able to help you.

        1. In reply todario.ramaglia:
          Dario Ramaglia @dario.ramaglia
            2023-02-10 13:25:40.735Z2023-02-10 13:40:34.355Z

            My solution was this script:

            sf.keyboard.press({
                keys: "cmd+return",
            });
            
            sf.wait({ intervalMs: 500 });
            
            sf.ui.proTools.appActivateMainWindow({}, "Could not activate Pro Tools");
            
            var win = sf.ui.proTools.floatingWindows.filter(function(w){ var t = w.title.value; return t.indexOf("Audio Suite: RX") == 0 && t.indexOf("Connect") >= 0 })[0];
            if (!win || !win.exists) throw "Could not find iZotope RX Connect AudioSuite window";
            
            win.buttons.whoseTitle.is("Render").first.elementClick({}, "Could not click Render");
            
            1. In reply todario.ramaglia:

              Thanks Dario! What's your version of iZotope RX?

              1. Dario Ramaglia @dario.ramaglia
                  2023-02-13 07:00:50.263Z

                  iZotope RX 10 Advanced v10.3.0.1775

                  1. Thanks. When you say multiple tabs - is that if you've loaded something manually into RX and then do the Connect-based send over? Could you share a screenshot, just so that I'm sure I know what to look for?

                    1. Dario Ramaglia @dario.ramaglia
                        2023-02-14 09:58:03.906Z

                        You are right! I meant sending multiple clips to RX10 via RX Connect Audiosuite Plugin ( Individiual Files / Clip by Clip ) and then send them back.

                        Here's a screenshot:

                        1. Ah okay! I thought it was when there was a mix of "natively loaded" audio files and clips from PT. This definitely is weird, but looks like Matt may have the workaround.

                  2. S
                    In reply todario.ramaglia:
                    SoundFlow Bot @soundflowbot
                      2023-02-11 20:49:27.954Z

                      This issue is now tracked internally by SoundFlow as SF-758

                      1. M
                        In reply todario.ramaglia:
                        Matt Friedman @Matt_Friedman
                          2023-02-14 19:29:09.328Z

                          This is related to my topic too, about the difference in RX10.3 between the old:

                          sf.ui.izotope.mainWindow.children.whoseDescription
                          

                          and the new:

                          sf.ui.izotope.mainWindow.buttons.whoseDescription
                          

                          Issue SF-748

                          1. Oh, I see. Thank you Matt!