AutoHotkey script for 'right click context menu' command [duplicate]

The key in question is the "Application" key (the one that brings up the context menu)..

Note: It's basically a shortcut key for Shift+F10.

In AuotHotKey the Application key can be referenced directly, as "AppsKey".

So

^r::AppsKey

should assign Ctrl+r to behave as the Application Key.

More info (including specific references to the AppsKey) can be found in AutoHotKey's instructions on their site: Remapping the Keyboard and Mouse

For a full set of addressable keys in AHK see their List of Keys, Mouse Buttons, and Joystick Controls