Hotkey Property

CurrentTask  Example

 

Specifies the hotkey that is used with the hotkey trigger to launch the task.

 

Declaration

Dim Hotkey As Variant

 

Description

Set the Hotkey property to the hotkey to be used to launch the task when one of the triggers is the Hotkey trigger.

 

The Hotkey text must be specified in AutoMate’s “Send Keystrokes” format:

 

Modifier

Character to Use

ALT

^

CTRL

%

SHIFT

&

 

For example, to use Ctrl-Alt H for a hotkey, the property should be set to %^H.

Remarks

Please note that the characters used to specify a hotkey are different than the characters used to send the specific key. In other words, in AutoMate and VBA “^c” will send CTRL + c. If you set the hotkey to “^c” it will be the key combination ALT + c.