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

Trying to trigger the midi keyboard UI in Soundminer/Radium from a regular keyboard. Doesn't seem to recognize the UI element

By Jamey Scott @dramaticaudio
    2022-07-07 21:26:30.842Z

    Title

    Trying to trigger the midi keyboard UI in Soundminer/Radium from a regular keyboard. Doesn't seem to recognize the UI element

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

    I want to press and hold an element in the UI of Radium (soundminer's sampler) so that I can trigger the midi keyboard UI from a non-midi keyboard.

    Are you seeing an error?

    MouseClickAction requires valid UIElement

    What happens when you run this script?

    When I try to pick the UI element from Soundflow, I switch to soundminer and click the UI element but it's not seeming to register because when I go to Radium and try the macro, it gives me the error.

    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": "I want to press and hold an element in the UI of Radium (soundminer's sampler) so that I can trigger the midi keyboard UI from a non-midi keyboard.",
        "inputIsError": true,
        "inputError": "MouseClickAction requires valid UIElement",
        "inputWhatHappens": "When I try to pick the UI element from Soundflow, I switch to soundminer and click the UI element but it's not seeming to register because when I go to Radium and try the macro, it gives me the error.\n",
        "inputHowRun": {
            "key": "-Mpfwh4RkPLb2LPwjePT",
            "title": "I used a keyboard shortcut within the target app"
        },
        "inputImportance": 4,
        "inputTitle": "Trying to trigger the midi keyboard UI in Soundminer/Radium from a regular keyboard. Doesn't seem to recognize the UI element"
    }

    Source

    //Macro converted to script
    
    
    sf.ui.soundminer.focusedWindow.scrollAreas.first.tables.first.children.whoseRole.is("AXColumn").allItems[1].mouseClickElement({
        relativePosition: {"x":30,"y":30},
        anchor: "BottomLeft",
    });
    
    
    

    Links

    User UID: OFrvMr9s3aNzoXlHrJ9ZddHif383

    Feedback Key: sffeedback:OFrvMr9s3aNzoXlHrJ9ZddHif383:-N6PYeP98iD3JeRIy1aM

    Feedback ZIP

    • 1 replies
    1. Hey Jamey,

      I think what may be happening is that the UI picker is basing this on the "focused window" in Soundminer as it doesn't auto-recognize Radium in its code - so it may be trying to locate the element within the main Soundminer window if Radium is not focused when you run the shortcut.
      Just an idea, haven't tested