[comp.sys.mac.programmer] Setting Chooser Name on startup

rees@usage.csd.unsw.OZ.AU (Rees Griffiths) (05/05/90)

    I was wondering if any one could provide me with some pointers to 
writing a string into the chooser name from an application.  The 
following code seems capable of finding the right 'STR " resource.  But 
I'm really not sure where to take it from there.

    Hndl&=FN GETRESOURCE(1398034976,-16096)
    RefNum%=FN HOMERESFILE(Hndl&)
    Rsize% =FN SIZERESOURCE(Hndl&)

    I don't normally read this newsgroup, however as I have just run into 
this problem I grep'd this newsgroup to check if the problem had cropped 
up recently, which it had.  The discussion seemed to mostly centre around 
Responder init though.

    I need to write the chooser name for use in a lab environment, much 
as mmcintos@uvicctr.UVic.CA.UUCP (who started the discussion does).  I 
already have an application that is used for other purposes I wish to add 
this code segment to it.

    Any advice gratefully accepted.

    Please email to bi_rees@vaxa.mqcc.mq.oz.au (or the above address)

Rees
_________________________________________________________________________
Snail: Mr Rees Griffiths, School of Biological Sciences,
       Macquarie University, N.S.W., Australia, 2113
Phone: (02) 805 8202     Facsimile: (02) 805               <<<<<<<>>>>>>>
Int.  +61 2 805 8202               +61 2 805               <<<<<43.2>>>>>
email  bi_rees@vaxa.mqcc.mq.oz.au                          <<<<<<<>>>>>>>
*************************************************************************
"There you stand like a duck in a thunderstorm again,
aren't you ever going to understand".  W.A. MOZART.
*************************************************************************