Sign in to follow this  
Followers 0
mladost1

i want louder :P

10 posts in this topic

I was wondering if i could change the volume of my pc (the original volume, not the SoundSetWaveVolume() ? I want to set it as a hotkey if possible so i can change it while playing a game without alt-tab ;)

Share this post


Link to post
Share on other sites



bump

Share this post


Link to post
Share on other sites

Unless there's some DLL for this, I don't think so. So far I know of no such function in AutoIt.


-Joscpe

Share this post


Link to post
Share on other sites

Or if you want to figure it out on your own, I figured out that it was "winmm.dll" and I have been messing around with it for a few minutes.

Or you could just look at the source code:
Func mciSendString($string)
    Local $iRet
    $iRet = DllCall("winmm.dll", "int", "mciSendStringA", "str", $string, "str", "", "int", 65534, "hwnd", 0)
    If Not @error Then Return $iRet[2]
EndFunc   ;==>mciSendString
And it's already done for you?

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

I was just saying.... ;)


-Joscpe

Share this post


Link to post
Share on other sites

also look at my variable sound volume script which changes the system volume for an example.


My Additions:- RunAs AdminDeviant Fun:- Variable Sound Volume

Share this post


Link to post
Share on other sites

audio.au3

Why didn't you incorporate the DLL's pitch controll?

-Joscpe

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