No internet connection
  1. Home
  2. How to

Mouse Click not pressing Command key

By Glenn Ianaro @Glenn_Ianaro
    2021-10-11 18:32:22.082Z

    I've been trying the various mouse click actions to save Clip Effects presets (1-5) and I'm not able to enable a command + click. For example when using the mouse click action I set the argument for "Hold Command" to yes, but i still receive a regular click without command being held.

    • 2 replies
    1. Kitch Membery @Kitch2021-10-12 02:01:20.541Z

      Hi @Glenn_Ianaro,

      Could I get you to log a bug report for this. Please click here to send us the information we need

      Thanks in advance :-)

      1. In reply toGlenn_Ianaro:
        Kitch Membery @Kitch2021-10-14 23:58:50.136Z

        Hi again @Glenn_Ianaro,

        This should do the trick. Just change the presetNum variable to the Preset number you want to Command click :-)

        //Clip Effects Preset Number
        const presetNum = 1;
        
        
        //Activate Pro Tools main window
        sf.ui.proTools.appActivateMainWindow();
        
        
        //Start holding down Command
        sf.keyboard.modifiers({
            isCommand: true
        });
        
        //Click Preset
        sf.ui.proTools.mainWindow.buttons.whoseTitle.is("ClipFX Preset Toggle").allItems[presetNum - 1].elementClick()
        
        //Release all modifiers
        sf.keyboard.modifiers();
        

        See the following post;

        I hope that helps.