Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2014-12-26 18:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (174 votes), past polls