Re: Play sound
Re: Play sound
- Subject: Re: Play sound
- From: Emmanuel <email@hidden>
- Date: Thu, 25 Nov 2004 23:35:41 +0100
At 5:36 PM -0200 25/11/04, Bernardo Hoehl wrote:
What is the code line for playing a specific sound from system.
Eg.: (I made this up)
Tell application "someApp"
play sound "frog"
end tell
You've got to use an app which plays sounds. QuickTime Player is one,
Smile is another. Depending on the app, the syntax may be different,
or not:
tell application "QuickTime Player"
set w to open f
play w
[...]
close w
end tell
tell application "Smile"
set w to open f
play w
[...]
close w
end tell
Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Play sound (From: Bernardo Hoehl <email@hidden>) |