Amiga World Official AmigaDOS 2 Companion - eBook-ENG

Page 152

AmigaWorld Official AmigaDOS 2 Companion

If a commodity doesn't open a window, you can always shut it down by double-clicking on its icon again — commodity icons act like toggles — or through the Exchange commodity.

Commodity Tool Types In addition to any private Tool Type that a commodity supports, all com modities support the CX_PRIORITY Tool Type. In addition, commodities that open their own windows also support the CX_POPKEY and CX_POPUP Tool Types. (The commodities programs also support the WBStartup Tool Types. See the discussion of the WBStartup drawer below for a discussion of these.)

CX_POPKEY: This Tool Type lets you define the hot key for a commodity that opens a window. All commodities come with a predefined hot key. As the number of commodities available grows, you may find yourself with one or more that use the same hot-key combination. CX_POPKEY lets you change a commodity's hot key. A hot key cannot simply be one of the characters from your keyboard. If must be either a function key, or a character key pressed in conjunction with one more of the qualifiers listed below: Alt

either Alt key

RAlt

right Alt key

LAlt

left Alt key

Shift

either Shift key

RShift

right Shift key

LShift

left Shift key

RCommand

right Amiga key

LCommand

left Amiga key

Control

Control key

Numericpad

a key on the numeric keypad

Rbutton

the right-mouse button

Lbutton

the left mouse button

For example, if you wanted to change the hot key for Blanker so that its win dow came up when you pressed the Right Alt, Control, and B keys together, you'd enter the following into the Tool Types gadget in Blanker's Information window: CX_POPKEY=RAlt Control B


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.