this should be a hint to us for the volume. it must be stored in some preference file on the system somewhere, and we can use the defaults command on the command line to edit preferences....
i read somewhere that said shell script can manipulate applescripts maybe that way we can control the volume.
question is can it work under just the text mode no gui running at all?
Hmmm... It's been a year since this thread was last updated, so I'm guessing no one figured it out?
I wrote a bash shell script that does two things:
Code:
echo -e "\a";
Open ./Tink.aiff;
The echo line just invokes the terminal alert bell. The Open comman opes a sound file in the default player. (QuickTime or iTunes probably)
These both do exactly what you'd expect when run command line, but neither work when this is onvoked some other way. In my case I'm trying to use PHP to call this via one of the system execution commands.
What I'm really trying to do is make my computer beep whenever someone hists one particular page on my Web site.