Re: play sound
Re: play sound
- Subject: Re: play sound
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 30 Jul 2004 14:57:33 -0700
On 7/30/04 1:55 PM, "Emmanuel" <email@hidden> wrote:
>
> set mantelSound to (path to documents folder as string) &
>
> "clutter:Sounds:mantel" as alias
>
> play sound mantelSound
>
>
I can two reasons why this script may not work as you expect.
>
1. "path to documents folder" is not something that "path to" allows. On
>
Jaguar, I have to write:
>
path to "docs".
In Panther you can write 'path to documents folder'. It's in Standard
Additions dictionary. (Will you be joining us in Panther one of these days.
Emmanuel?)
>
I've found that in User scripts > More Smile commands >
>
Scripting > All path to.
>
2. I may be wrong, but I can't see a "play sound" command in any dictionary.
>
You can play a sound in Smile: open the file as a QuickTime movie, then launch
>
it. That's what "playsound" does, an addition available at:
>
<http://www.satimage.fr/software/en/downloads_smile_extras.html>
'play sound' is in Jon's Commands osax. It should work if that's installed
(OS X version), but I haven't tested it. It's good to know about your
'playsound' too.
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.