Title
Script to render an already-open AudioSuite instance of EQ3 1-Band (I'm new!)
What do you expect to happen when you run the script/macro?
Nothing seems to happen.
Are you seeing an error?
What happens when you run this script?
Nothing happens in Pro Tools when I run this command.
How were you running this script?
I used a keyboard shortcut within the target app
How important is this issue to you?
5
Details
{ "inputExpected": "Nothing seems to happen.", "inputIsError": false, "inputWhatHappens": "Nothing happens in Pro Tools when I run this command.", "inputHowRun": { "key": "-Mpfwh4RkPLb2LPwjePT", "title": "I used a keyboard shortcut within the target app" }, "inputImportance": 5, "inputTitle": "Script to render an already-open AudioSuite instance of EQ3 1-Band (I'm new!)" }
Source
const asPluginName = "EQ3 1-Band"
sf.ui.proTools.appActivateMainWindow();
//Get AS window
const asWindow = sf.ui.proTools.windows.whoseTitle.is(`Audio Suite: ${asPluginName}`).first;
// Focus AS window
asWindow.elementRaise();
// Define render button
const renderButton = asWindow.buttons.whoseTitle.is("Render").first;
// Click Render button
renderButton.elementClick()
Links
User UID: fakTJ14fhkVRkA4ia4NkJd3rRKu1
Feedback Key: sffeedback:fakTJ14fhkVRkA4ia4NkJd3rRKu1:-OAT7bn6Mar4T6J1aSj0
Feedback ZIP: 0E9qNHsaIe7fnlXVOgL3BpxSSJqrWpQ/0zrvaKBMeetwNCQn++2HS0L5dacnOscW/pcwBAIZFfVW9glwnfV3R+QObZkH7KbpAKh8Xdxa4Daoz4FeJjpBjzYt8jzQLd7Y9sc9zjxbrh6pxZbAdGiLp8mL7gdTH+7My37RmhZHqJB8vHsDH3SUMe78Y4vF6ylmDtoz/1y2tUXTZMNaCjg9yFJNKdizdUZxe4h/puRJ+S1tsnU28TWC5YPsHIer5J70hy7B/t/0Dh+Vu9LEox/JsT7krninRnqRWCKStSmUyXHgdJANu34s5BnJvErN49eIZRaJ3HqvfaMLhQVsNSp4/SiwWdS3Hx9HlBR3BRWM11o=
- Chad Wahlbrink @Chad2024-11-04 21:54:27.356Z
Hi @SAMUEL_J_MAUL,
The script you shared works on my system currently. Looking at your logs, it doesn't seem like any scripts have been run successfully. I'm curious if you have a conflicting key command with different software that is blocking this action.
To rule this out, could you try assigning an alternate keyboard trigger? If that still does not work, can you try using the "Run Command" button from the script editor?
- SIn reply toSAMUEL_J_MAUL⬆:SAMUEL J MAUL @SAMUEL_J_MAUL
Okay, when I assign the key command shitt+opt+command+E and then use that keyboard shortcut, here's the error message I get:
When I just hit Run Command, here's the error message I get:
For what it's worth, I do have Kensington Works installed but I don't believe I'm using that key command with that application (or any others, to my knowledge). Ultimately what I need to be able to do is assign buttons on my Kensington Expert mouse to key commands that will run Audiosuite actions. I can't seem to make it all talk to each other...
Chad Wahlbrink @Chad2024-11-14 17:26:26.436Z
Hi, @SAMUEL_J_MAUL,
I appreciate you sharing a bit more info on what is happening for you.
The first issue I'm seeing is likely related to some legacy commands that are in the Pro Tools Package.
I believe you are likely running the "Open, Render, and Close AudioSuite" presets for EQ3 7-Band (Mono) in that first screenshot.
That is a legacy command, and I'll log a bug that this is not working. Thanks for bringing this to our attention.
To work around this, you can create a new preset with the " (Stereo)" removed from the "EQ3 7-Band" name.
The second error for "Render EQ3 1-Band" is likely a typo in the script somewhere making the code invalid. This will be indicated in the script editor with a red line under the invalid code, and a red highlight in the scroll bar.
Chad Wahlbrink @Chad2024-11-14 17:27:26.427Z
For a more thorough walkthrough of these issues, see this video:
- SIn reply toSAMUEL_J_MAUL⬆:SoundFlow Bot @soundflowbot
This report was now added to the internal issue tracked by SoundFlow as SF-1516
- SIn reply toSAMUEL_J_MAUL⬆:SAMUEL J MAUL @SAMUEL_J_MAUL
Hey Chad, thanks for the reply. When I copy/pasted the preset and renamed the plugin to eliminate "Mono", that seemed to help...but now it tells me that it Could Not Select Clip By Clip and Could Not Open Pop Up Menu.
I wonder - Is there any possibility of just hopping on a Zoom and perhaps working through a couple things in real time? It's certainly worth the $9.99/mo to me if I can get this to work (and probably also to my colleagues at the studio I work out of) but I'm unfortunately a bit limited on time at the moment for troubleshooting and sifting through the impressive body of helpful literature you guys have.
Chad Wahlbrink @Chad2024-11-25 18:37:12.485Z
Hi @SAMUEL_J_MAUL,
Yes, we can hop on a quick zoom if best for you.
Can you reach out to support@soundflow.org when you get a chance? That way we can coordinate a zoom to troubleshoot this a bit for your system.
- In reply toSAMUEL_J_MAUL⬆:
Chad Wahlbrink @Chad2024-12-05 17:48:36.022Z
Hey @SAMUEL_J_MAUL,
Thanks for the time today.
Here's the full script I wrote with you on the call:
// Define the Plugin const asPluginName = "EQ3 7-Band"; // Define the Plugin Menu Path let asPluginPath = ['AudioSuite','EQ','EQ3 7-Band']; // Change 'Basic HPF' to whatever you want your preset name to be const asPreset = "Basic HPF" //////////////////////////////////// ////////////SCRIPT////////////////// //////////////////////////////////// if (!sf.ui.proTools.isRunning) throw `Pro Tools is not running`; sf.ui.proTools.appActivateMainWindow(); sf.ui.proTools.mainWindow.invalidate(); // Define the plugin window const asWindow = sf.ui.proTools.windows.whoseTitle.is(`Audio Suite: ${asPluginName}`).first; // Open Plugin if It's Not Open Already if(!asWindow.exists){ sf.ui.proTools.menuClick({menuPath:asPluginPath}); asWindow.elementWaitFor({waitType:"Appear"}); } // Open The Preset if it's not already loaded if(sf.ui.proTools.firstAudioSuiteWindow.popupButtons.whoseTitle.is("Preset").first.value.value !== asPreset){ sf.ui.proTools.firstAudioSuiteWindow.popupButtons.whoseTitle.is("Preset").first.popupMenuSelect({menuPath:[asPreset]}); } // Focus AS window asWindow.elementRaise(); // Define render button const renderButton = asWindow.buttons.whoseTitle.is("Render").first; // Click Render button renderButton.elementClick();
- SIn reply toSAMUEL_J_MAUL⬆:SoundFlow Bot @soundflowbot
Linked issue SF-1516 updated: In version 1.1.6 of the Pro Tools package, we now warn users if using a legacy preset ending in " (Mono)" or " (Stereo)".
- SIn reply toSAMUEL_J_MAUL⬆:SoundFlow Bot @soundflowbot
The linked internal issue SF-1516 has been marked as Done