Table of Contents

Key

This action allows you to simulate a key press or release. This action should not be used to write text, to do so you should rather use the Write text action. You could use this action to trigger a keyboard shortcut (F5 to refresh a Web page, Escape to exit a dialog box…) or another feature.

Standard parameters

Input parameters

Key

The key to press. To set the value of this field you only have to press the wanted key.

Action

The action that should be performed:

Amount

The amount of key presses to simulate. [Added in Actionaz 3.5.0.]

Advanced parameters

Type

The keyboard type to use. Windows only.

Press/Release pause

The amount of time to wait before releasing a pressed key.

Exceptions

Simulation failed

<BOOKMARK:simulation_failed>

This exception is thrown when the simulation failed.

Invalid action

<BOOKMARK:invalid_action>

This exception is thrown when the action is invalid.