home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14101 < prev    next >
Encoding:
Internet Message Format  |  1992-08-17  |  1.1 KB

  1. Path: sparky!uunet!cs.utexas.edu!asuvax!farallon!neal@farallon.com
  2. From: neal@farallon.com (Neal Trautman)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Finder labels
  5. Message-ID: <318@farallon.farallon.com>
  6. Date: 17 Aug 92 20:29:59 GMT
  7. References: <1992Aug17.190538.11398@qualcomm.com>
  8. Sender: news@farallon.farallon.com
  9. Organization: Farallon Computing, Inc.
  10. Lines: 24
  11. Nntp-Posting-Host: sherry
  12.  
  13. In article <1992Aug17.190538.11398@qualcomm.com>, sdorner@qualcom.qualcomm.com (Steve Dorner) writes:
  14. > I would like to snarf the text and colors of the Finder's label menu.  Does
  15. > anyone know where they hide?  Or must I "reduce the Labels control panel
  16. > to human-perceivable form" and violate my license agreement? :-)
  17. > (Yes, I know I'm a very evil person for wanting to do this. Nonetheless,
  18. > I do.)
  19. > -- 
  20. > Steve Dorner, Qualcomm, Inc.
  21. > Yes, I'm still working on Eudora and it's still free.
  22.  
  23. The System 7 call looks like this:
  24.  
  25.     FUNCTION GetLabel(labelNumber: INTEGER; VAR labelColor: RGBColor;
  26.                             VAR labelString: Str255): OSErr;
  27.         INLINE $303C, $050B, $ABC9;
  28.     
  29. Neal Trautman
  30. Timbuktu Lead Software Engineer
  31. Farallon Computing, Inc.
  32. neal@farallon.com
  33.  
  34.