AutoHotKey is a free open source keystroke/mouse click macro editor that's very easy to use, powerful and quite useful with Sonar. Sonar of course has a great deal of keyboard shortcut flexibility, but it does have limitations. With AuoHotKey you can assign keystrokes to lengthy strings of keybaord and mouse actions. For example, maybe I often want to quantize a clip to eighth notes. Sonar lets you hit a keystroke to open the quantize dialog, but then you're back to clicking around. With AutoHotKey I have a single keystroke that includes opening the dialog, selecting 1/4 and hitting OK. If I needed I could program the macro to set other things in the dialog as well, because you can program in Tab key hits. You can even go crazy with it and write macros that actually open your own dialogs to gather variable parameter info, but I haven't taken it that far.... yet. My favorite thing about it is that editing your macros is all done from a basic text editor like Notepad.
I'm getting so much great help here from everyone that I was sitting here thinking how I could give back, and this is something that's indispensable to me that a lot of people might not know about.