RanorexNetRanorexNet Documentation
GetActionKey Method (action)
NamespacesRanorexApplicationGetActionKey(Action)
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.
Declaration Syntax
C#Visual BasicVisual C++
public static Keys GetActionKey(
	Action action
)
Public Shared Function GetActionKey ( _
	action As Action _
) As Keys
public:
static Keys GetActionKey(
	Action action
)
Parameters
action (Action)
Type of the action, a member of the Action enumeration.
Return Value
The function retrieves the virtual key code and modifier of the specified action.
Remarks
Supported only in RanorexPro and .NET 2.0.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown when the action key is invalid.

Assembly: RanorexNet (Module: RanorexNet) Version: 1.5.1.4524