I’m trying to customize my workflow in Cubase and encountered an issue. For instance, the F3 key is assigned by default to toggle the Mixer (open/close). I wanted to achieve a similar behavior with the Key Editor using the F2 key. However, I noticed that the Key Editor only has the option to “Open Key Editor,” which means I can open it, but there doesn’t seem to be a way to close it with the same key.
Is there a way to set up a true toggle function for the Key Editor (open/close) using a single key? Or perhaps a workaround to achieve this?
If you’re on Windows you could explore using AutoHotKey. It’s a scripting language that will be able to implement what you’re asking for.
Here is a working example.
This below script assumes Cubase 14. A Key Command in Cubase for Open Key Editor needs to be defined. In the below example, Shift+Ctrl+k is used.
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
#SingleInstance force
#Persistent
#IfWinActive ahk_exe Cubase14.exe
F2::
IfWinExist, Key Editor ahk_exe Cubase14.exe
{
WinClose, Key Editor ahk_exe Cubase14.exe
} else {
Send +^k ; Shift+Ctrl+k used in Cubase for "Open Key Editor"
}
return
#IfWinActive