Select preset in a non focused plugin
By Joel McLean @Joel_McLean
Title
Select preset in a non focused plugin
What do you expect to happen when you run the script/macro?
I would like to be able to assign a button on my Avid S3 to select my SoundID reference preset for the speaker Calibration in my studio. The macro shouldselect the first preset option in the SoundID plugin.
I would also like to program another macro and assign it to a different button on my S3 to select the second preset, which is my headphone calibration.
Can you please help me?
Thankyou
Are you seeing an error?
What happens when you run this script?
I don't get any error message...nothing happens
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": "I would like to be able to assign a button on my Avid S3 to select my SoundID reference preset for the speaker Calibration in my studio.\nThe macro shouldselect the first preset option in the SoundID plugin.\n\nI would also like to program another macro and assign it to a different button on my S3 to select the second preset, which is my headphone calibration.\n\nCan you please help me?\n\nThankyou", "inputIsError": false, "inputWhatHappens": "I don't get any error message...nothing happens", "inputHowRun": { "key": "-Mpfwh4RkPLb2LPwjePT", "title": "I used a keyboard shortcut within the target app" }, "inputImportance": 5, "inputTitle": "Select preset in a non focused plugin" }
Source
const audiosuitePluginName = "SoundID Reference Plugin";
const presetName = "Preset 1"
sf.ui.proTools.appActivateMainWindow();
sf.ui.proTools.getAudioSuiteWindow(SoundID Reference Plugin).audioSuiteSelectPreset({
presetMenuPath: [Home Studio -3 Surrounds],
});
Links
User UID: FdGj8cSvmrcHjdMdLFZccxuLGup1
Feedback Key: sffeedback:FdGj8cSvmrcHjdMdLFZccxuLGup1:-NbSi2oxfnJvZKeav_Cj
- Christian Scheuer @chrscheuer2023-08-11 08:44:41.923Z
Hi Joel,
You're missing some quotes
const audiosuitePluginName = "SoundID Reference Plugin"; const presetName = "Preset 1" sf.ui.proTools.appActivateMainWindow(); sf.ui.proTools.getAudioSuiteWindow('SoundID Reference Plugin').audioSuiteSelectPreset({ presetMenuPath: ['Home Studio -3 Surrounds'], });