just stumbled on this app

you can set up key commands and menus etc with a visual image that you draw with your mouse, and have a different set of images for each program

so an right arrow can be the Staff view and a left arrow can be Piano Roll View