automator, please play a sound whose name matches excel cell text

Joined
Mar 22, 2014
Messages
3
Reaction score
0
Hi all, total n00b here. I'm having trouble making an automator service that takes the selected cell text in excel and plays a sound file of the same name.

Here's the applescript:

on run {input, parameters}
set soundFile to theSound
tell application "Play Sound"
playsoundFile
end tell
end
run

I added a pic of what I've got going. Any hints or help is appreciated. The point of it all is to make a database of tone minimal pairs in an indigenous language.
 

Attachments

  • forum.jpg
    forum.jpg
    34.7 KB · Views: 437
Joined
Nov 26, 2010
Messages
3,558
Reaction score
52
I'm not sure "excel" would be the best host for playing sounds, it's a heavy lifting spreadsheet?
 
Joined
Mar 22, 2014
Messages
3
Reaction score
0
I'm not sure "excel" would be the best host for playing sounds, it's a heavy lifting spreadsheet?

You are right! I'm working with tone data in Excel. I want to make a service that plays sounds as I muck about with my tone data. So when I select the text in a cell, it plays the sound file of the same name.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top