8

I have copied one program from a floppy to a HDD drawer (I created for it) and I want to start this program directly, without going through [Window] → [Show] → [All Files] first in my Amiga Workbench (without doing that I am not able to see the program in the drawer).

How to achieve my goal, means having an icon in WB which I can click to start the program? I can copy an existing one and rename it. However do you know a better/faster way/tool?

I use Amiga 500 with WB 40.42 (3.1).

5 Answers 5

8

Various authors have created utility programs for AmigaOS that will automatically create .info files and associate them with your Amiga programs, thus making the program or data file launch-able via a Workbench icon. As you noted, without the .info file, the program or data file is not visible as a custom Workbench icon.

If you search on aminet, you can find these utilities. One which I quickly located is called IconAdder. According to its README file:

This program is like other 'icon adder' programs you may, or may not, have seen before. It uses the WhatIs.Library to find the file type, and then adds an icon according to it's type.

NOTE: The way a .info file is associated with a program or data file is by giving it the same base name; like MyProg and MyProg.info. The contents of the .info file can link a data file to the executable to launch in order to use/view the data file.

1
  • 1
    I downloaded and used the IconAdder as proposed by @Brian-H and it is ok however I was looking for a simpler solution (from user perspective). I would expect an extension to WB which allows to use e.g. right mouse button to create an .info file... That would be great. Dec 29, 2017 at 9:52
3

Look for DefIcon on Aminet. It places an entry in the tools menu. You select the "fake icon" in Workbench and choose "Tools->default icon". It will then create an .info file.

1
  • 2
    Thanks for the answer! However, answers that say "look for the answer here" aren't as useful as they could be. A link to the program would improve it, and a picture of the program's interface would make it even more useful.
    – wizzwizz4
    Apr 20, 2018 at 15:48
2

You don't need any 3rd party tools or tedious typing in the CLI. Just run IconEdit (found in sys:Tools). This opens with a default icon called 'Untitled" that you can customize or use as is. Then select "Save as" from the menu, browse to your file and select it, and hit the "save" button. This will create an icon for your file.

enter image description here

Note that when a program has an icon it will be run as a Workbench application. Programs that assume a CLI environment may crash if they try to use it.

1

I'll add mention of an open source utility I wrote long ago called IconJ. Its Readme description reads:

IconJ significantly enhances the IconX program, and is 100% compatible. It allows scripts to be executed by double-clicking the script's icon. Abilities include joining the script with the icon file itself, or calling it from any directory or disk, executing either AmigaDOS or ARexx scripts, outputting to any file or device, running interactive scripts and scripts that contain conditionals, and creating relative console windows. Includes a utility called AtatJ which attaches or detaches a script to/from an icon file.

I forgot which Fish Disk it is on, but it can be obtained from Aminet:

It comes with the source, written in JForth. (You don't need JForth to run it, though.) Being able to store the script within the icon file itself is advantageous, especially in situations where there is both a script to set up stuff, and a separate executable. Now the icon drags the whole set of them at once.

0

If you could upgrade to Amiga OS 3.2, that includes a make-real feature. (Show all files in WB, select the one you want an icon for, snapshot it, and it will have an icon.)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .