On 8/7/09 10:38 AM, Shashanka L said: >Where can I get the system sound for Move/Copy operations?
I don't see anything in the NSSound docs to get that. It's a good idea for a feature request though. >I need to play it in my application when Move or Copy file is done. > > >Ex: I can get the Trash sound at the location : "/System/Library/ >components/coreaudio.component/contents/Resources/SystemSounds/finder/" >And I can use it as : > > NSSound *deleteSound; > deleteSound = [NSSound soundNamed: @"drag to trash"]; > [deleteSound play]; NSSound initWithContentsOfFile:byReference: should do it. -- ____________________________________________________________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com