Sign in to follow this  
Followers 0
riceking

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

3 posts in this topic

#1 ·  Posted (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

iZ6TMzg.png

Edited by riceking

\

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by JLogan3o13

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

#3 ·  Posted (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 by riceking

\

Share this post


Link to post
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
Sign in to follow this  
Followers 0