riceking Posted August 2, 2013 Share Posted August 2, 2013 (edited) Hello, I tried doing some searches, but it seems a tad more complicated than just copy pasting the target value into the run function. Any tips on how to get this to work? Any tips on how to make a shortcut of any Windows window? I've setup my speakers so that one plays in my room while the other plays in the bathroom (lol). One is the right speaker and one is the left speaker. I'd like to have it setup where I can press a hotkey to switch the levels from R to L and vice versa. The fastest way of doing this to my knowledge is going Playback Devices -> Properties -> Levels -> Balance -> Done. Target: %windir%System32rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,0 Edited August 2, 2013 by riceking \ Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted August 2, 2013 Moderators Share Posted August 2, 2013 (edited) Untested, but I would think this would work: ShellExecute("rundll32.exe", "shell32.dll,Control_RunDll mmsys.cpl,,0") I tested this, even shorter. Just plug in the tab you want to move to. ShellExecute("control.exe", "mmsys.cpl,,3") Edited August 2, 2013 by JLogan3o13 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
riceking Posted August 2, 2013 Author Share Posted August 2, 2013 (edited) Untested, but I would think this would work: ShellExecute("rundll32.exe", "shell32.dll,Control_RunDll mmsys.cpl,,0") I tested this, even shorter. Just plug in the tab you want to move to. ShellExecute("control.exe", "mmsys.cpl,,3") Thank you sir, any idea on how such a shortcut is obtained in the first place? Looking to see if I can get/make one for one of the two latter windows. '> Nevermind, the script only takes 1.2 seconds, I can live with that. Edited August 2, 2013 by riceking \ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now