Re: controlling system muting ?
Re: controlling system muting ?
- Subject: Re: controlling system muting ?
- From: Matt Neuburg <email@hidden>
- Date: Tue, 08 Jul 2008 10:51:46 -0700
- Thread-topic: controlling system muting ?
On Mon, 07 Jul 2008 23:25:34 -0400, Jason Bobier <email@hidden> said:
>Hey folks,
>
>Has anyone figured out how to control a machine's volume level
>(specifically muting) from code? I know that you can do it from
>Applescript, but running an applescript from code seems to be a rather
>clunky approach.
>
>This is for emergency notification, so I have to be able to crank the
>volume on the system and then restore it afterwards.
>
>Thanks for any insight!
>
>Jason
>
>
>
Always worthwhile checking the archives before posting. The technique is
pretty well demonstrated here:
http://www.cocoabuilder.com/archive/message/cocoa/2008/3/12/201211
m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
One of the 2007 MacTech Top 25: <http://tinyurl.com/2rh4pf>
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden