mladost1 Posted August 18, 2008 Posted August 18, 2008 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
Joscpe Posted August 18, 2008 Posted August 18, 2008 Unless there's some DLL for this, I don't think so. So far I know of no such function in AutoIt. -Joscpe
Moderators SmOke_N Posted August 18, 2008 Moderators Posted August 18, 2008 About bumping on this forum:http://www.autoitscript.com/forum/index.ph...st&p=529666http://www.autoitscript.com/forum/index.ph...st&p=485422http://www.autoitscript.com/forum/index.ph...st&p=443303http://www.autoitscript.com/forum/index.ph...st&p=450311http://www.autoitscript.com/forum/index.ph...st&p=451665http://www.autoitscript.com/forum/index.ph...st&p=491638http://www.autoitscript.com/forum/index.ph...st&p=517041http://www.autoitscript.com/forum/index.ph...st&p=544854http://www.autoitscript.com/forum/index.ph...st&p=558562Answer to your question.http://www.autoitscript.com/forum/index.ph...c=54048&hl= 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.
Bert Posted August 18, 2008 Posted August 18, 2008 audio.au3 The Vollatran project My blog: http://www.vollysinterestingshit.com/
Joscpe Posted August 18, 2008 Posted August 18, 2008 About bumping on this forum:http://www.autoitscript.com/forum/index.ph...st&p=529666http://www.autoitscript.com/forum/index.ph...st&p=485422http://www.autoitscript.com/forum/index.ph...st&p=443303http://www.autoitscript.com/forum/index.ph...st&p=450311http://www.autoitscript.com/forum/index.ph...st&p=451665http://www.autoitscript.com/forum/index.ph...st&p=491638http://www.autoitscript.com/forum/index.ph...st&p=517041http://www.autoitscript.com/forum/index.ph...st&p=544854http://www.autoitscript.com/forum/index.ph...st&p=558562Answer to your question.http://www.autoitscript.com/forum/index.ph...c=54048&hl=audio.au3Or 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. -Joscpe
Moderators SmOke_N Posted August 18, 2008 Moderators Posted August 18, 2008 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.
thepip3r Posted August 18, 2008 Posted August 18, 2008 also look at my variable sound volume script which changes the system volume for an example. My Additions:- RunAs AdminDeviant Fun:- Variable Sound Volume
Joscpe Posted August 18, 2008 Posted August 18, 2008 audio.au3Why didn't you incorporate the DLL's pitch controll? -Joscpe
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