Amiga World Official AmigaDOS 2 Companion - eBook-ENG

Page 153

The Contents of Workbench

Selecting the Save button preserves your choice. Now, the next time you run Blanker, you'll be able to pop its window with the hot key you've defined. CX_POPUP: This is a Boolean Tool Type. When set to True, CX_POPUP causes a commodity that uses a window to open its window when you start the commodity. Otherwise, the commodity begins with a hidden window. The only time you'd probably want to set the Tool Type to False is when you place a commodity in the WBStartup window. You may not want a bunch of win dows jumping out at you when you boot your machine. CX_PRIORITY: All Commodities Exchange programs are constantly moni toring the stream of signals between your input devices and Intuition. Some programs may be looking for the same input events or respond to the same hot

key combination. To avoid potential conflicts, you can assign priorities to the commodities. Then, if two commodities are waiting for the same input event, only the one with the higher priority will see the event and respond to it. For example, if you assign Blanker and Exchange the same hot key and give Ex change a higher priority than Blanker, the hot key will always bring up the Exchange window. You can set the priority of a commodity to any value from -128 to 127. Priori ties shouldn't be a big concern unless you begin to amass a significant number of commodities.

The Exchange Commodity The most significant commodity supplied with Amiga OS 2.0 is the Exchange program. It serves as controller for itself and the other commodities active on your system.

When you open Exchange, or call it with its hot key, it presents the window shown in Figure 5-9. In addition to the name Exchange, the title bar lists the program's currently active hot key. You can change the hot key using the CX_POPKEY Tool Type. In the center of the window is a scrolling list of commodities that are active (available) on the system. Note that Exchange is listed; you can control it as you would any other commodity. You select a commodity to work on by clicking on its name in the list. Below the list is a three-line display that carries information about the currently selected com modity. Title tells you the selected commodity's name, while Description gives you an idea of the commodity's function. Status indicates whether the com modity is enabled or disabled.


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