Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: customizing a drive (or partition) icon



You can read the file in easily enough using the open-source IconFamily class(es) and the volume's path (/Volumes/ VolumeName/.VolumeIcon.icns) and then manipulate it as an NSImage and write it back out to this location once modified. If you'd like an example of this would be DriveGauge's functionality (http:// www.infinitenexus.com/dg/) If you need further clarification on the process let me know and I'll see if I can dredge up some relevant code. IconFamily has been often discussed and the archives likely have plenty of info and its easy enough to use in my experience.

On Sep 29, 2005, at 11:58 PM, Herbert wrote:

Does anyone know how to do this? Sample code?

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/brianganninger% 40mac.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >customizing a drive (or partition) icon (From: Herbert <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.