|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
DriverHeaven Newbie
Join Date: May 2008
Posts: 4
Rep Power: 0 ![]() |
Automating Swap Front and Rear switch
Hi Guys
How can I automate the toggling of the "swap Front and Rear" outputs switch on the Master page? Via Automation? Cant see how? Via Kx Control? I have my headphones and speakers plugged in simultanesouly and Id like to automate the switch between outputs via AutoHotKey. Thanks in advance... |
|
|
|
|
|
#2 |
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,563
Rep Power: 62 ![]() ![]() ![]() ![]() ![]() ![]() |
You can use kX Console (kxctrl.exe) to do it.
(enable) shw 4 1 (disable) shw 4 0 |
|
|
|
|
|
|
|
DriverHeaven Newbie
Join Date: May 2008
Posts: 4
Rep Power: 0 ![]() |
brilliant!
thanks very much... and how to adjust master volume via kxctrl ? (is there comprehensive help on the tool?) the SoundSet commands in AutoHotKey dont work for master volume only the wave?? cheers |
|
|
|
|
|
#4 |
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,563
Rep Power: 62 ![]() ![]() ![]() ![]() ![]() ![]() |
Controlling volume using kxctrl is more difficult (unless you just want to set it to some specific value), it would be better to use kX Automation for that.
The only help for kxctrl is what you get when you type "?" in the console. The hardware parameters (for use with shw/ghw), etc. are listed in ikx.h in the kX SDK. Last edited by Russ; May 10, 2008 at 09:58 PM. |
|
|
|
|
|
#5 |
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,563
Rep Power: 62 ![]() ![]() ![]() ![]() ![]() ![]() |
BTW: I am not really familair with AutoHotKey, and I am not sure what method you are using to try and adjust the volume, but did you try using the virtual key codes for the volume up/down MM keys?
i.e. (volume up) Send {vkAF} (volume down) Send {vkAE} |
|
|
|
![]() |
| Thread Tools | |
|
|