No internet connection
  1. Home
  2. How to

Plugins Mapping

I am looking for a way to map the 5 solo buttons on the LinMB from Waves

Solved in post #3, click to view
  • 8 replies
  1. Kitch Membery @Kitch2020-03-20 21:39:19.828Z

    Hi @Hljoddeild_zjozleikh,

    Many of the buttons inside plugins are not accessible by SoundFlow directly, so as a way to click them you should use the "Mouse Click Relative To UI Element" within a Macro.

    The following settings will click the first solo button. The x,y coordinates are relative to the "Top Left" of the Plugin window (Including the header and top bar of the Plugin Window.

    The x,y coordinates for the buttons are as follows;

    Solo Button 1
    x = 73
    y = 457

    Solo Button 2
    x = 155
    y = 457

    Solo Button 3
    x = 239
    y = 457

    Solo Button 4
    x = 320
    y = 457

    Solo Button 4
    x = 404
    y = 457

    You can use "Command + Shift + 4" to find the x,y coordinates and then press escape when you have the x,y value so not to fill yor desktop with snapshots.

    Hope that helps
    Kitch

    1. Thank you.. will try this

      1. In reply toKitch:

        Please excuse my ignorance
        Cant find out how to do that macro
        and cant find on google
        is there some info somewhere about this that I am missing
        thanks for your time

        1. Nevermind.. found it
          thanks

      2. This can be achieved with the following script:

        
        var pluginWin = sf.ui.proTools.windows.whoseTitle.is('Plug-in: LinMB').first;
        var pluginView = pluginWin.children.whoseTitle.is('FXTDMEditView').first;
        if (!pluginView.exists) throw "Could not find open Audio Suite plugin view";
        
        //Use this to log a list of all parameter names:
        //log(pluginView.children.map(c => c.title.value).join('\n'));
        //throw 0;
        
        var parameterSlider = pluginView.children.whoseTitle.is('Band 1 Solo').first;
        
        //To solo ON:
        /*parameterSlider.elementClick({
            actionName: 'AXIncrement'
        });*/
        
        //To solo OFF:
        /*parameterSlider.elementClick({
            actionName: 'AXDecrement'
        });*/
        
        //To toggle solo:
        if (parameterSlider.value.invalidate().intValue === 0) {
            parameterSlider.elementClick({
                actionName: 'AXIncrement'
            });
        } else {
            parameterSlider.elementClick({
                actionName: 'AXDecrement'
            });
        }
        
        Reply2 LikesSolution
        1. The script above only works for parameters that are automatable, ie. controllable from Pro Tools.
          If you need to interact with plugin buttons that are not automatable parameters, use @Kitch's macro:
          https://forum.soundflow.org/-1719#post-2

          1. Kitch Membery @Kitch2020-03-20 23:55:28.443Z

            Fantastic.. I dind't think about the fact that Pro Tools can access the paramaters internally. :-)

            1. Yea TBH this opens up quite a range of possibilities for fun stuff, especially when combined with touch based surfaces.... :)