Use Quickeys/Keyboard Maestro/Autohotkey to enhance Cubase

I’d never come across AutoHotKey - it’s very useful, thanks, Steve! :smiley:

Here’s what I’ve done with it so far:

;>>>>>>>>>>> Cubase macros and key commands: <<<<<<<<<<
;<><><><><><><><><><><><><><><><><><><><><><><><><><><>

;<><><><> Functions to check for and change conditions <><><><>

focusCubase(inputKey) ;Checks if Cubase is running and brings to front.  Passes key command and exits if Cubase not found.
{
IfWinExist Cubase 7
	WinActivate
else
	{
	send %inputKey%
	exit
	}
}

focusProjectWindow() ;Brings Project Window to front.
{
IfWinExist, Cubase 7
	WinActivate
else
	return
}

focusMixer() ;Checks if Mix Console is open (opens it if not) and brings to front.
{
IfWinExist, MixConsole
	WinActivate
else
	{
	send {F3}
	WinActivate
	;msgBox Opened mixer for you
	return
	}
}

focusKeyEditor() ;Checks if Key Editor is is open (opens it if not) and brings to front.
{
IfWinExist, Cubase, Key
	{
	ControlFocus, Key, Cubase
   	;MsgBox Key Editor already open. I've brought it to the front for you.
	return
	}
else
	{
	send ^e
	ControlFocus, Key, Cubase
	;MsgBox Opened the key editor for you
	return
	}
}

;<><><><> Key commands <><><><>

; >>>>>>> Search for track in Project Window (ctrl+F)<<<<<<<<
$^f::	
inputKey = ^f
focusCubase(inputKey)
focusProjectWindow()
send %inputKey%
return

; >>>>>>> Search for channel in Mix Console (ctrl+alt+F)<<<<<<<<
$^!f::
inputKey = ^!f
focusCubase(inputKey)
focusMixer()
send ^f
;send {#}{space}
;I use the above line because I have all my VSTi outputs named with the "# " prefix to filter out all the other channels when I search - remove the semi-colon if you like this.
return

; >>>>>>> Open channel editor (alt+E)<<<<<<<<
$!e::
inputKey = !e
focusCubase(inputKey)
focusMixer()
send %inputKey%
return

; >>>>>>> Open VI editor (V)<<<<<<<<
$v::
inputKey = v
focusCubase(inputKey)
focusProjectWindow()
send %inputKey%
return

; >>>>>>> Open Key editor (ctrl+E)<<<<<<<<
$^E::
inputKey = ^E
focusCubase(inputKey)
focusProjectWindow()
focusKeyEditor()
return

Hope it’s of some use or gives some ideas to others.