No internet connection
  1. Home
  2. Support

Executing apple script to control soundminer but script doesn't work

By Andrew Quinn @Andrew_Quinn3
    2020-06-10 15:13:31.370Z

    Executing apple script to control soundminer but script doesn't work

    System Information

    SoundFlow 3.7.2

    OS: darwin 18.7.0

    ProductName: Mac OS X
    ProductVersion: 10.14.6
    BuildVersion: 18G103

    Steps to Reproduce

    1. Trying to execute some of these events via apple script to control soundminer's radiom sampler

    https://info.soundminer.com/docs/apple-events
    2) Using apple script action in a macro with this script
    tell application "Soundminer v5Pro" «event SNDMmute» 1 end tell

    1. This script works fine via keyboard maestro so i know that it works at soundminers end

    Expected Result

    Apple script executes and mutes radium slot.

    Actual Result

    Nothing happens

    Workaround

    Keyboard maestro but id prefer to not have to send the action via that.

    Other Notes


    Links

    User UID: FIYDxXGn4Xg0NcTwSzDZxZRYx1l1

    Feedback Key: sffeedback:FIYDxXGn4Xg0NcTwSzDZxZRYx1l1:-M9Tmlgb5TZaNqPgtM_U

    Feedback ZIP

    • 4 replies
    1. Christian Scheuer @chrscheuer2020-06-10 15:18:21.477Z2020-06-10 15:28:59.264Z

      Hi Andrew.

      From Monday, you can do this with a built in action:

      For now, I think you could do it like this:

      
      sf.system.execAppleScript({
          script: `
      tell application "Soundminer v5Pro"
          «event SNDMmute» 1
      end tell
      `
      });
      
      1. AAndrew Quinn @Andrew_Quinn3
          2020-06-10 15:28:19.764Z

          Hi Christian

          I've just tried that script but it didn't work, its ok though i can hold on till Monday

          Cheers

          -Andrew

          1. I formatted it wrong - try again.

            1. AAndrew Quinn @Andrew_Quinn3
                2020-06-10 16:20:27.141Z

                Works great. Thanks!

          2. Progress
            with handling this problem
          3. A@Andrew_Quinn3 marked this topic as Done 2020-06-10 16:20:50.909Z.