If you are using SAS on Windows, you should be able to use the Enhanced Editor, and therefore to record a keybord macro : action = type /********************** and associated key = F11.
If on a different OS, the ~ trick Cynthia just explained should work alright ; the keys are save on a profile basis, so you should have the F11 and F12 re-definitions saved when you close your SAS session.
... View more