Re: To get system sounds for Move or Copy operations
Re: To get system sounds for Move or Copy operations
- Subject: Re: To get system sounds for Move or Copy operations
- From: "Sean McBride" <email@hidden>
- Date: Mon, 10 Aug 2009 12:51:41 -0400
- Organization: Rogue Research Inc.
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 email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden