Home  /  Autodocs

shortcut.image

a class that embodies a shortcut

FUNCTIONS

SHORTCUT_GetClass

SUPERCLASS

itexticlass

DESCRIPTION

The shortcut class is an itexticlass but it also offers a way to check if the shortcut was triggered, and if so it sends out a beacon.

ATTRIBUTES

SHORTCUT_Text
(STRPTR) Shortcut as text, which will be parsed. Applicability is (OM_SET, OM_NOTIFY)

Keys can be seperated by + or spacing and order of qualifiers doesn't matter.

Amiga
Can be written as A or Amiga

Shift
Can be written as Shift

Sctrl
Can be written as Ctrl, Strg or ^

Alt
Can be witten as Alt

Single characters are parsed into their uppercase representation and several special keys can be written out like this

Help
The Help key

Fx
The function keys eg F2 or F10

Esc
The Escape key

Del
The delete key

Backspace
The backspace key

Tab
The tab key