Getting a list of system sounds, etc.
Getting a list of system sounds, etc.
- Subject: Getting a list of system sounds, etc.
- From: "Mike O'Connor" <email@hidden>
- Date: Thu, 11 Apr 2002 12:11:45 -0400
I want the user to be able to choose a system sound to play. As a Cocoa
novice, I'm still learning the available calls. Is there some facility that
will help me assemble lists of these types of things? System sounds can be
in several places: /Library, ~/Library, System/Library... You have to get
filenames from these places, perhaps strip off the file type extensions,
perhaps sort them, and so on. This seems like it might be a common problem
for lots of things that can be in Library subdirectories.
Is there something that can enumerate through all the files in all the
directories a particular type of system file might be, something like that?
It doesn't seem too tough to roll my own, but I didn't want to miss out on
something that might already be in the system. Some kind of super FindFolder
or something...
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.