The variable that stops you from using keys during recording playback is $globalActionMapOnly
Make sure this is set to false, and you won't have a problem using the console.
If you want to add a key to switch it on and off, you can use something like: GlobalActionMap.bindCmd(keyboard, "ctrl minus", "", "$globalActionMapOnly = !$globalActionMapOnly;");
Comments
Make sure this is set to false, and you won't have a problem using the console.
If you want to add a key to switch it on and off, you can use something like: GlobalActionMap.bindCmd(keyboard, "ctrl minus", "", "$globalActionMapOnly = !$globalActionMapOnly;");