[comp.sys.mac.system] SUMMARY: How to add startup icon to INIT/cdev

mouse@vaxb.acs.unt.edu (Dhanapong Saengrussamee-University of North Texas) (07/23/90)

Thanks for all the e-mails and follows up about my question.  Here's the
summary.

Question:  How to add startup icon to the one that doesn't have?

o  A mention to ShowINIT of Paul Mercer.  I found an object code of it in
   Sumex.  This mean that that you have to link his object into your code in
   order to display startup icon.  Somebody mention an INIT version that you
   can just add it to the desired INIT/cdev and it will do the job.  I can't 
   find this anywhere (so far).

o  A lucky browse in BIX revealed CShowINIT by Ken McLeod (which also mention
   by a couple of e-mails fan).  A decendant of ShowINIT (see above) that will
   also do color icon.  The package includes source code, sample, and an INIT
   version so you can add it to the desired INIT/cdev.  Add INIT to target.
   Renumber so that INIT number is the same as desired ICN# to display, default
   is 128 (which is what most owner ICN# are), or duplicate the ICN# and
   renumber the ICN# to that of the INIT if you can't renumber the INIT. 
   Create cicn and number it to that ICN#.  CShowINIT will display that cicn
   (or ICN# if there's no cicn equivalence).  The added code is about 550 bytes
   and a minimum of 870 bytes for cicn.  Sorry I did not time the different.
 
o  Also a mention to FixIcons on American On Line.  I do not have access to AOL
   so can't say anything much.  But it supposes to allow you to control/select
   the ability of display startup icon.  Could you e-mail me or post it to
   Sumex?  I am sure lots of netter will appreciate it.

o  Also there is ICN# Adder (or Icon Adder? -- The welcome's window said Icon
   Adder twice but the unstuff file and version info said ICN# Adder???) by
   Gre7g Luterman (what's the 7 in his name mean?)  A handy application that
   will add "Show ICN#" INIT into anything!  You might have problem if the
   target INIT/cdev does not have its own ICN# (Hey, it possible!).  The added
   code is about 250 bytes.  As the name ICN# implied, no color icon (cicn) for
   this guy.  May be in version 2.0 (like HyperCard).  The program is available
   in Sumex under /info-mac/util/icn_adder.hqx 16990 bytes.

Also related to this topic, there is INIT call IconWrap (also by Ken McLeod)
which will wrap your startup icons after it to the next row.  The trick is you
have to rename it to be the next one AFTER your last icon in the first row.  It
is available in Sumex under /info-mac/init/iconwrap.hqx 5874 bytes.

For those of you who get tired of looking at the startup icon.  There's use to
be an INIT called NoIcon in Sumex wich will suppress the startup icon.   I
can't locate it on Sumex but I am sure somebody will point to the one that has
it.  I also has it in my removable somewhere but it is hard to locate when
there's no incentive to use it.  I like to watch/glance at the startup icons. 
At least I know what the Mac is doing and where did it die....  And I seems to
recalled that the NoIcon eventhough it do the job, it does not speed up any
boot process (seems like it do something like echo the output to NUL device
>NUL in the PC world....8^) ).

Once again, thanks for the e-mails and follows up.  Did I miss something?

__Mouse.o()~
-----------------------------------+------------------------------------------
Dhanapong "Mouse" Saengrussamee    | AppleLink : U1364 | BITNET : mouse@untvax
Technical Support, CECS Dept.,     | BIX : d.mouse.s | CompuServe : 71301,1516
University of North Texas,         | GENie : d.saengrussa | IP : 129.120.1.4
PO Box 5155, Denton, TX 76203-5155 | Internet : mouse@vaxb.acs.unt.edu
voice (817) 565-3790               | SPAN : utspan::utandx::untvax::mouse
fax   (817) 565-4425               | THENet : untvax::mouse
------------------- UUCP : {...!uunet!convex!iex}!ntvax!vaxb.acs.unt.edu!mouse
Guaranteed fresh for 7 day after date.

hench@lea.ncsu.edu (Steven Hench) (07/23/90)

In article <30225.26aa0b82@vaxb.acs.unt.edu> mouse@vaxb.acs.unt.edu (Dhanapong Saengrussamee-University of North Texas) writes:
>
>Also related to this topic, there is INIT call IconWrap (also by Ken McLeod)
>which will wrap your startup icons after it to the next row.  The trick is you
>have to rename it to be the next one AFTER your last icon in the first row.
                         --------------------------------------------------

I think you must have misread the documentation.  The IconWrap INIT has
to run BEFORE the last icon in the first row.  I've got IconWarp running
long before the end of the row, and it works fine.

According to the docs:

    In order to be effective, IconWrap must run at some point BEFORE the
    first row of icons hits the right edge of the screen; if this is a
    problem, simply rename IconWrap so that its name is alphabetically
    superior to the last INIT in the first row.

The confusion probably arose from the term "alphabetically superior",
which means the INIT should be earlier in the alphabet, not the next
alphabetically.  It is somewhat vague, I agree.

I have no relation to IconWrap, other than being a satisfied customer
who didn't want anyone to think it wasn't as nice a utility as it is.
:)

Stephen D. Hench
hench@lea.ncsu.edu