No internet connection
  1. Home
  2. How to

CUBASE: create macro to trigger Key Combo on left mouse click HELP

By Alex Morgan @Alex_Morgan
    2020-11-15 00:33:19.638Z

    I am a long time pro tools user but have to learn cubase very quickly for a work opportunity.

    Main issue i have is that unlike PT if you click somewhere within a region the playback cursor doesn't move.

    the way around this is to click the mouse whilst holding (MAC) alt + shift ... i have read that someone using keyboard meastro wrote a script where they could left clik on mouse and would act liek you had clicked alt + shift ....

    in summary is there a way to set left click to trigger "alt+shift"....

    example :

    currently - click in middle of region pressing down alt+shift moves cursor and playback to that point

    GOAL - simple left clicking does all the above (minus the playback)

    maybe this is not possible but if it were it would be HUGE!!!!!!!

    many many thansk in advance to ayone who can help !

    Alex

    • 1 replies
    1. Hi Alex. So it's a fairly simple macro that will look like this:

      So it only consist of two actions:

      • first one where you get the mouse position
      • then one where you click with the mouse. You will drag the position from your first action to the mouse click position. And then add the different modifiers under advanced properties (the gear symbol).

      I can't use left click as a trigger under "keyboard triggers". This is probably by design, as it might render your mouse un-usable in many cases. I don't know for sure. It might be possible to do it as a HID device trigger. But my mouse doesn't show up there.
      Here I just did it here with the Mouse Button 3.

      Here's the macro converted to a script:

      const position = sf.mouse.getPosition().position;
      
      sf.mouse.click({
          position: position,
          isRightClick: false,
          isShift: true,
          isOption: true,
      });