Izotope RX: Render & Spot Back Into Pro Tools won't work when there's more than one tab in RX
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
- SSoundFlow Bot @soundflowbot
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. - In reply todario.ramaglia⬆:Dario Ramaglia @dario.ramaglia
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");
- In reply todario.ramaglia⬆:Christian Scheuer @chrscheuer2023-02-11 20:49:22.634Z
Thanks Dario! What's your version of iZotope RX?
Dario Ramaglia @dario.ramaglia
iZotope RX 10 Advanced v10.3.0.1775
Christian Scheuer @chrscheuer2023-02-13 21:47:32.921Z
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?
Dario Ramaglia @dario.ramaglia
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:
Christian Scheuer @chrscheuer2023-02-14 20:28:18.965Z
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.
- SIn reply todario.ramaglia⬆:SoundFlow Bot @soundflowbot
This issue is now tracked internally by SoundFlow as SF-758
- MIn reply todario.ramaglia⬆:Matt Friedman @Matt_Friedman
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
Christian Scheuer @chrscheuer2023-02-14 20:25:30.232Z
Oh, I see. Thank you Matt!