Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Programmatically enable/disable a playback device in Windows 7

by thmsdrew (Scribe)
on Nov 08, 2012 at 13:34 UTC ( #1002892=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    use warnings;
    ...
    SendKeys("{D}");
    SetForegroundWindow($sound[0]);
    PushButton("OK");
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    use warnings;
    ...
    SendKeys("{E}");
    SetForegroundWindow($sound[0]);
    PushButton("OK");
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1002892]
Approved by Corion
Front-paged by bulk88
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2016-10-01 19:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (6 votes). Check out past polls.