[comp.sys.amiga] icon idea + more on resources

john13@garfield.UUCP (04/18/87)

Well, I don't know anything about icons, so what about an easier way to
work with icons than using Info from Workbench? This should be about 5
minutes for someone who *does* know about icons. Suggested usage:

Create icon Foo.info of type project with optional Dpaint brush file image
for picture:
changeicon -c Foo -t project <-i image>

Add a tooltype to an icon:
changeicon -a whatever   (remember, I'm not up on the details)

Also to _change_ the type of an icon, change the deleteability, and all the
other things you can do in Info. Someone, please whip this up and post it.

-----------

I like the idea of resources for the Amiga. I have some (preliminary) ideas
on the subject; probably I'll do versions of all of them, since they will
offer a lot of the same features, but with different emphasis (eg small and
fast or memory resident, interactive or not).

Add doesn't work for custom screens if Workbench is to the back. It also has
no way to deal with a null title (eg for DPaint - I tested out the interactive
add on this), and timing of other window stuff can cause it to skip
sometimes. There is also no way to delete an existing shortcut. I will post
a fixed (and much smaller) executable after exams, and also "until", which 
will eliminate the synchronization problems Mike Meyer noted.

EG:
run df1:vt100
until VT100 15 -m  ; wait 15 seconds or until window called VT100 opens and
                   ; sets its menu strip
addbuffers df0: 20
add .... etc

John