Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

A Simple Mic Mute Script

$
0
0

Team- I'm not a scripter!  But I have a need to implement a script to mute a computer mic very quickly with a single key.  The script I've found looks like this:

#z::
soundget, isMute, MICROPHONE, MUTE
if isMute = Off
    toMute = 1
else
    toMute=0
SoundSet, toMute, MICROPHONE, MUTE
return

I suppose that might work- but I don't know how to implement it.  I tried putting the above script in a .vbs on Windows 7x64 but I get a line 1 character 1 error when I run it from the command line.  I'm sure I'm missing something.  Once I get the script correct I can figure out how to hotkey it from there- any advice?  Is there another, better way?


Tech Manager


Viewing all articles
Browse latest Browse all 15028

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>