From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15759 invoked by alias); 22 Mar 2010 00:26:49 -0000 Received: (qmail 15752 invoked by uid 22791); 22 Mar 2010 00:26:49 -0000 X-SWARE-Spam-Status: No, hits=0.2 required=5.0 tests=AWL,BAYES_50,RCVD_IN_SORBS_WEB,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from lo.gmane.org (HELO lo.gmane.org) (80.91.229.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 22 Mar 2010 00:26:40 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NtVTY-0006cN-Gr for cygwin-talk@cygwin.com; Mon, 22 Mar 2010 01:26:36 +0100 Received: from dsl78-143-228-30.in-addr.fast.co.uk ([78.143.228.30]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Mar 2010 01:26:36 +0100 Received: from david by dsl78-143-228-30.in-addr.fast.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Mar 2010 01:26:36 +0100 To: cygwin-talk@cygwin.com From: zzapper Subject: Re: Switch PC speaker on and off from Cygwin Date: Mon, 22 Mar 2010 00:26:00 -0000 Message-ID: References: <20100321173113.GB7732@ednor.casa.cgf.cx> User-Agent: Xnews/2006.08.24 X-IsSubscribed: yes Mailing-List: contact cygwin-talk-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cygwin-talk-owner@cygwin.com Reply-To: The Vulgar and Unprofessional Cygwin-Talk List Mail-Followup-To: cygwin-talk@cygwin.com X-SW-Source: 2010-q1/txt/msg00084.txt.bz2 Christopher Faylor wrote in news:20100321173113.GB7732@ednor.casa.cgf.cx: > On Sun, Mar 21, 2010 at 03:40:59PM +0000, zzapper wrote: >>I'd like to be able to switch my pc speaker on/off from a script. >>Any pointers? > > Pointers? You seem to be talking about dogs rather than hippos. That's > entirely off-topic here. > I've DOGoned found a solution http://www.nirsoft.net/utils/nircmd.html works like a treat (freeware) nircmd.exe mutesysvolume 0 nircmd.exe mutesysvolume 1 -- zzapper http://zzapper.co.uk/ Technical Tips