There is also a sendkeys snippet (no extra DLLs needed) but the Original Poster isn't looking for a way to simulate Alt+R; he wants something else to happen when those keys are pressed, and that's not possible with the current limitations.