Peter
Forgive me for this question. I felt like I was computer literate until this.
I've spent a fair amount of time trying to get this script right and I just don't get any sound when I click the play button.
I made the script just as simple as I could by creating a folder on the desktop called xx and I put into that folder a file named x.aiff ......
trying to keep it as simple as possible.
The script I wrote goes like this....
"afplay '/Users/Desktop/xx/x.aiff"
It seems like my name should be in there some where, I tried that and got syntax error.
There must be something I'm missing. Maybe its the term, tell application "Mail" that is throwing me off and I just don't understand what THAT means. When I click the play button, I don't get an error, but nothing plays either. ( The path when I click on the folder xx, has my name in the path.)
OR
"Do shell script" does not mean create a script.
There is something wrong. It should play WAV, AIFF or mp3 with out a problem. I tried an mp3 file and still nothing. Seems like I should be able to hear something when I hit the play button without needing to APPLY it in the mail, or am I wrong.
Can you see an problem in the script I wrote.
I was paying attention to the capitals, so that shouldn't be the problem.
Are you running El Capitan? maybe that is the problem? Sorry for being a pain,but I'm lost.