Jump to content

[Solved] Open a shortcut (.lnk) + Speaker levels


Recommended Posts

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

iZ6TMzg.png

Edited by riceking

\

Link to comment
Share on other sites

  • Moderators

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 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

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 by riceking

\

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...