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: How to deal hassle-free with systemsounds



> Message: 4
> Date: Mon, 14 Mar 2005 11:46:49 +0100
> From: Ronald Hofmann <email@hidden>
> Subject: How to deal hassle-free with systemsounds
> To: email@hidden
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Hi,
> I would like to offer the user of my app to choose the sound which is
> used.
> What I have seen up to now is done by using additional scripting
> additions.
> 
> Is there possibly a hassle-free way to do this?
> 
> I don“t want to install additional scripting additions in my app.

The best way I have found to do this if you only have a few sounds, is to
convert the sounds to .mov files, and play them in an invisible NSMovieView
in the app.  You can tell the movie view which movie (sound) to load based
on the user's choice.

Craig

-- 
Dr. Craig Hunter
NASA Langley Research Center
AAAC/Configuration Aerodynamics Branch
email@hidden  (new!!)
(757) 864-3020
(Dual G4 - OS X)


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

This email sent to 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.