Chord audition, autohotkey

Official support for: bitwig.com
Post Reply New Topic
RELATED
PRODUCTS

Post

dear developers why I have to be so creative :D

Code: Select all

MButton::
	Send {2 down}
	Send {Shift down}
	MouseClickDrag L,0,0,32,0,0,R
	Send {Shift up}
	MouseMove -16,0,0,R
	Click, Down
	MouseMove 0,-5,0,R
	KeyWait, MButton
	Click, Up
	Send ^z
	Click
	Send {2 up}
	MouseMove -16,5,0,R
	return
https://www.autohotkey.com/

if somebody would have a better idea for this, please :pray: especially dear developers :P

ps: capslock & MButton keeps the orig func. of the middle button, it doesn't work with other modifiers
"Where we're workarounding, we don't NEED features." - powermat

Post

I see that AutoHotKey is Windows only but that's such a good idea that I might have to nick it and come up with something similar for KeyboardMaestro for the Mac. Thanks for the heads-up 😉
Bitwig 6.0.8 + Akai MIDIMix + Launchpad X + MF Twister
ExpressiveE Osmose Keyboard + Universal Audio Apollo Twin X
Mac Mini M1 16GB/4TB + macOS 26.5 Tahoe

Post

let's learn autohotkey ... the if statement based on the state of the capslock

Code: Select all

MButton::
GetKeyState, state, CapsLock, T 
if state = D
{
	Send {2 down}
	Send {Shift down}
	MouseClickDrag L,0,0,30,0,0,R
	Send {Shift up}
	MouseMove -15,0,0,R
	Click, Down
	MouseMove 0,-5,0,R
	KeyWait, MButton
	Click, Up
	Send ^z
	Click
	Send {2 up}
	MouseMove -15,5,0,R	
}
else if state = U
{
	Click, M Down
	KeyWait, MButton
	Click, M Up
}
"Where we're workarounding, we don't NEED features." - powermat

Post

That's pretty cool. I'm sure something similar can be done on Linux with xdotool (or ydotool if you're using Wayland)

I would love to port this to a script but first I'll have to figure out this AHK script syntax lol
((( ~ )))

Post Reply

Return to “Bitwig”