Home
Download
Screenshots

Wiki
Plugins
Translations
Developers
Donate

Forums/Help
Contact Us

StrokeIt

Change the Default Audio Device

Posted by Tantras 
Tantras
Change the Default Audio Device
August 14, 2007 07:33PM
It took me a while, but I finally found it. I have two audio devices on my laptop. My normal soundcard and my bluetooth headset. I normally have to goto ctrl panel, sound, click the tab, change the setting click ok. Now I use a stroke.

In my global actions, I added two actions.

1st command
Run - Run Program
File: rundll32
Arguments: shell32,Control_RunDLL mmsys.cpl,,2

2nd command
Windows - Activate Window
Caption: Sounds and Audio Devices Properties
Match text: Yes
Wait: Yes
10000 milisecs

3rd command
Keys - Send Keystrokes
S[Alt_Down]A[Alt_UP][Enter]

The S in the send keys is the first letter of the soundcard in the dropdownbox.
I have two actions, one for either soundcard. The second action is exactly the same except the S is a B for the bluetooth item in the dropdownbox.

Hope this helps, I searched the net for hours trying to find a way or a program to do it automagically I should have thought strokeit to begin with.
Author:

Your Email:


Subject:


Attachments:
  • Valid attachments: zip, sxp, cfg
  • No file can be larger than 128 KB
  • All files together cannot be larger than 512 KB
  • 4 more file(s) can be attached to this message

Spam prevention:
Please, solve the mathematical question and enter the answer in the input field below. This is for blocking bots that try to post this form automatically.
Question: how much is 21 plus 9?
Message: