Classic Computer Magazine Archive COMPUTE! ISSUE 87 / AUGUST 1987 / PAGE 70

AmigaView

Sheldon Leemon

All About Icons

Icons, the little pictures that appear on the Workbench and its windows, make it easy to perform such actions as duplicating a disk or running a program. But because of their power, they generate a lot of curiosity—and questions. "How can I make my own icons?" "Why do some icons run programs when I double-click on them, while others do nothing?" "How can I increase the stack size for a program that's run from the Workbench?" To answer these questions, let's look at what icons are, and how they work.

Icons are pictures that represent actual objects in the Amiga disk filing system, such as disks, subdirectories, and files. Where do these icons come from? Information for each icon is stored in its own disk file. These files have the same filenames as the objects they represent, with the characters .info tacked onto the end. For example, the file that contains the icon information for the Preferences file is called Preferences.info, and the file that contains the icon information for the System directory is called System.info. In order for an icon to correctly represent a filing-system object, the .info file must be in the same directory as that object. The .info files contain a lot of information about the icon and the object it represents, including:

If you want to learn more about a particular icon and the object it represents, highlight the icon and select Info from the Workbench menu. A window will appear that not only gives you all of the information shown above, but will also allow you to edit such fields as Stack Size, Default Tool, and Tool Types and save the changes.