I'm trying to select my audio devices with AHK and right now I have something like this:
Run, mmsys.cpl
WinWait,Sound
ControlSend,SysListView321,{Down 1}
The first line works fine and the sound dialog appears but the ControlSend part doesn't seem to do anything. Does anyone have any idea why? I expect it to select the top entry by hitting the down key.. I'm running on Windows 10 if that helps at all.
Sleepjust afterRun, mmsys.cplto make sure it is waiting for theSoundwindow. The code works fine for me - Arun Thomas