home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / apple2 / 18105 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  2.1 KB

  1. Path: sparky!uunet!decwrl!claris!apple!dlyons
  2. From: dlyons@Apple.COM (David A Lyons)
  3. Newsgroups: comp.sys.apple2
  4. Subject: Re: Changing the default color of the folder in Sys 6.0
  5. Message-ID: <70589@apple.Apple.COM>
  6. Date: 29 Jul 92 06:44:33 GMT
  7. References: <2A73E8F4.24561@ics.uci.edu>
  8. Organization: Apple Computer Inc., Cupertino, CA
  9. Lines: 37
  10.  
  11. In article <2A73E8F4.24561@ics.uci.edu> jimmys@ics.uci.edu (Jimmy Shaw) writes:
  12. >
  13. >I have a question for all the system 6.0 wizards out there:
  14. >
  15. >How do I change the default folder color (yellow) in 6.0 to something else?
  16. >
  17. >In A2-Central (Vol. 8, No.4) it states that "change the byte at offset +65 in
  18. >the finder resource with type $C001 and ID 1.  Change the $E0 to whatever you
  19. >want (the first digit is the default folder foreground color, and the low
  20. >nibble is for the outline color)..."
  21. >
  22. >Okay, I have tried this, and it doesn't work for me.  This was how I went about
  23. >things:  Using Foundation v1.0(b7?), I loaded up the Finder resouce, and
  24. >type $C001 was caled "Rect List".  There is only 1 item under this type
  25. >(ID #1).  I then open up this item, and went into the HexEdit mode.  I was
  26. >unable to find any occurance of $E0, in fact, at offset +65, the hex was $DD,
  27. >not $E0.
  28. >
  29. >Any ideas?  If possible, would someone also please tell me which color is
  30. >represented by which hex?
  31.  
  32. Two problems:  The +065 should actually be +067.  (This was my fault--I
  33. submitted the procedure to A2-Central, and I was staring at some Rez
  34. source code to come up with the value...I didn't allow for the 2-byte
  35. count word that Rez supplies automatically.)
  36.  
  37. The second thing is that you seem to be counting the offset in Hex.
  38. The 67 is a decimal number, which in hex is $43 (start at the top left,
  39. go 4 rows down, and three bytes over).  (If you try $65 or $67, you
  40. do indeed find a $DD, part of the default blue desktop pattern, not
  41. the folder color byte.)
  42. -- 
  43. David A. Lyons, Apple Computer, Inc.      |   DAL Systems
  44. Apple II System Software Engineer         |   P.O. Box 875
  45. Internet:dlyons@apple.com                 |   Cupertino, CA 95015-0875
  46.  
  47. My opinions are my own, not Apple's.
  48.