MODIFIERKEYSTATE Data Type

Description

This enumeration contains key modifiers that the Open Agent typically uses as arguments for click functions, such as AnyWin::ExtendedClick. For example, the value MOD_CTRL_ALT means that the keys Ctrl and Alt are pressed.

4Test defines this enumerated data type as follows:
[-] type MODIFIERKEYSTATE is enum
	[ ] MOD_CTRL
	[ ] MOD_ALT
	[ ] MOD_SHIFT
	[ ] MOD_CTRL_SHIFT
	[ ] MOD_CTRL_ALT
	[ ] MOD_SHIFT_ALT
	[ ] MOD_CTRL_SHIFT_ALT
	[ ] MOD_NONE

Availability

This data type is supported only for the Open Agent.

Example

To follow a link from a Microsoft Word document that you are currently editing, you have to press Ctrl and click on the link. You can do this as follows:
link.ExtendedClick(MOD_CTRL)