Mouse click and drag AHK script

SetStoreCapsLockMode False

#HotIf WinActive(“ahk_exe Cubase12.exe”)

CapsLock::

{

Send “{CapsLock}”

if GetKeyState(“CapsLock”, “T”) = 1

MouseClick “left”, 1, 0, “D”

else

MouseClick “left”, 1, 0, “U”

}

+CapsLock::CapsLock ; map shift+capslock to capslock just in case

When would this be useful?

dragging faders. Generally just anything that involves dragging.

give it a try. I’m loving it at the moment but something could be bothersome so maybe it needs some tweaking.