ACCELERATOR2 action attribute

The ACCELERATOR2 is an action attribute defining the secondary accelerator key for an action.

Syntax 1 (Dialog action handlers):

There is no syntax to define accelerator #2 in dialog action handlers.

Syntax 2 (ACTION DEFAULTS section in form files):

ACCELERATOR2 = key

Syntax 3 (Global .4ad action defaults file):

acceleratorName2 = "key"
  1. key defines the accelerator key.

Usage

The ACCELERATOR2 attribute defines the keyboard combination that can be pressed by the user to send an action to the program.

This attribute is provided for specific cases, consider using only one accelerator per action.