You can do this a number of ways. I don’t know V8 but in V7 you simply add the macro to your hotkeys in the keyboard section of Options. First open the snap toolbar and edit an icon you can then copy and paste the snap command you wish to place on a hotkey. Then open options keyboard and paste your macro there. You can also make them one shots instead of toggles if you wish those macros are also on the icons when you edit them being either left or right mouse button.