The function retrieves the virtual key code and modifier of the specified action.
An action key is a key combination that the user can press to perform a special action.
For example, a user can create an action key that exits a running scripts.
Whenever the user presses the action keys, from any part of the system, the action will be started.
The action key remains valid until the script is running.
- action (Action)
- Type of the action, a member of the Action enumeration.
The function retrieves the virtual key code and modifier of the specified action.
Supported only in RanorexPro and .NET 2.0.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | Thrown when the action key is invalid. |
