Re: AppleScript program to execute files
Re: AppleScript program to execute files
- Subject: Re: AppleScript program to execute files
- From: Paul Skinner <email@hidden>
- Date: Thu, 16 Aug 2001 15:29:25 -0400
on 8/15/01 10:34 PM, Scott Earleywine wrote:
>
Hey all.
>
>
I have a question...I am interested in creating an AppleScript application
>
that will allow me to execute (i.e. Using CMD+O to 'open') a file.
>
>
Here are the details...I want to be able to have the script (application?)
>
to be able to do a CMD+O (like, hitting "CMD+'O' from the Finder) from a
>
bunch of sound files that I have created. I have a bunch of system 7
>
sounds, and I want to be able to execute them by just typing a key on the
>
keyboard. So, for instance if I want "sound1" to play...I want to 'hit' Q,
>
if I want "sound2" to play...I want to 'hit' W, if I want "sound3" to
>
play...I want to 'hit' E.
>
>
I'm not sure I should use REALBasic for this app or not, but I was hoping
>
AppleScript could do this.
>
>
The script should allow me to assign the keys I want for the appropriate
>
sound...somehow with a dialog of some sorts.
>
>
Any, and all, suggestions are welcome!
>
>
Regards,
>
SLE
I'd like to suggest that you look at SoundScript. An excellent shareware
application by Michael Norris.
The upside is that it's scriptable and adds a great deal of control to
playing sounds on your Mac . Downside, it won't play those system7 'sfil'
files. I'd consider duplicating and converting them to a QT supported
format. SoundScript plays all QT formats.
Control it by script or hit a number key to play a loaded file.
SoundScript's got 10 channels you can load sounds into, and you can do so by
script, so a solution for playing any number of sounds could be scripted
pretty easily.
info-
http://www.kagi.com/mnorris/software.html
DL-
http://homepage.mac.com/mjsnorris/software/soundscript101.sit
My only affiliation with this product is that I think it's cool.
--
"AppleScript is digital duct tape."
Paul Skinner