Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

stretchphoto

macrumors newbie
Original poster
Apr 3, 2011
18
0
Miami
Hi. I have four mac minis in kiosks around Miami. They're set to restart automatically after a power failure. I've noticed, however, that when they restart in such a situation, the volume in the System Preferences is lower than what I'd set it at previously.

I guess there's some sort of volume level it defaults to. Does anyone have any ideas on how to change that?

Thanks!
 
The volume can be set from the command line with something like

Code:
/usr/bin/osascript -e 'set volume 7'

0 means silent. 7 means full volume.

Perhaps you could get that to run at startup.
 
Yep, I think that's what I'm looking for.

Is that an applescript, or does it go into the terminal?

I'm a complete novice with this stuff, though I've had some recent success w/ automator and applescript.

Thanks.:)
 
"set volume 7" is AppleScript. The command I gave above runs in the Terminal or a Bash script. It just runs the AppleScript via the osascript program.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.