Does anyone know how to play the system sound effects for (drag) copy, paste and delete operations on OS X? I mean the sound that Finder uses when moving files. I didn't find any API to do that. Does someone maybe know where those sound files are located? I only found the system alert sounds (Frog, Submarine etc..).
SystemSounds
are available in
/System/Library/Components/CoreAudio.component/Contents/Resources/SystemSounds/
location.
NSSound *systemSound = [[NSSound alloc] initWithContentsOfFile:@"/System/Library/Components/CoreAudio.component/Contents/Resources/SystemSounds/finder/move\ to\ trash.aif" byReference:YES];
if (systemSound) {
[systemSound play];
}
/System/Library/Components/CoreAudio.component/Contents/Resources/CoreAudioAUUI.bundle/Contents/Resources