Macworld Forums: Apple Script to control sound volume? Help! - Macworld Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Apple Script to control sound volume? Help!

#1 User is offline   oldshake Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 31
  • Joined: 27-April 02

Posted 11 December 2002 - 10:54 AM

I am hoping that someone familiar with Apple Script can help me... Here's what I want to do:

Automatically turn system sound volume off or very low when I shut down.

Sometimes I accidentally leave the sound up a bit after listening to music and when I start up, my Bose speakers scare the hell out of me!

Thanks for any suggestions!

0

#2 User is offline   Nobody Icon

  • Power User
  • PipPipPipPip
  • Group: Members
  • Posts: 58,347
  • Joined: 18-October 07

Posted 11 December 2002 - 03:20 PM

try this

tell application "Finder"
set volume 0
end tell

Just paste that into Script Editor, save it as an application so you just double click it to run that. I don't think that there is a way to run apps on Shutdown, so I don't know about that.

0

#3 User is offline   oldshake Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 31
  • Joined: 27-April 02

Posted 11 December 2002 - 03:40 PM

Thanks! That was simple enough. Now I just need to figure out how to run it automatically on shut down.

In the "old days" I could have just put it in the Shutdown Items folder, right?

0

#4 User is offline   Nobody Icon

  • Power User
  • PipPipPipPip
  • Group: Members
  • Posts: 58,347
  • Joined: 18-October 07

Posted 11 December 2002 - 04:42 PM

I'm not sure when in the start up you get 'scared' but I would think putting in the login items to go at startup would be late.
0

#5 User is offline   oldshake Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 31
  • Joined: 27-April 02

Posted 11 December 2002 - 04:59 PM

It's the Apple tone (I don't know the technical name) that sounds right when I power up the computer, so yes, login items would be too late...
0

#6 User is offline   Johnny_Half-Ass Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 46
  • Joined: 02-September 02

Posted 12 December 2002 - 01:10 PM

um... turn your speakers off?

or if you have no external speakers, plug a pair of headphones in the jack before you start it

0

#7 User is offline   Nobody Icon

  • Power User
  • PipPipPipPip
  • Group: Members
  • Posts: 58,347
  • Joined: 18-October 07

Posted 12 December 2002 - 01:19 PM

look around for QuietStart, it disabled the start up sound in powerbooks and other models. they might have rewritten it for x.
0

#8 User is offline   oldshake Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 31
  • Joined: 27-April 02

Posted 17 December 2002 - 10:11 AM

FYI: Couldn't find QuietStart for OS X. Don't think it exists...(yet?)
0

#9 User is offline   Nobody Icon

  • Power User
  • PipPipPipPip
  • Group: Members
  • Posts: 58,347
  • Joined: 18-October 07

Posted 17 December 2002 - 11:08 AM

Oldshake, try this, make OS 9 the startup disk, boot into 9 and lower the system volume. Then restart into X and reset the startup disk to X. That worked for me last time I tried it.

Jeff

[ 12-17-2002: Message edited by: jeffsg4mac ]

0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users