Damein Posted February 8, 2011 Share Posted February 8, 2011 I am attempting to use this but I can't get any of it to work for some reason :/ Here is what I am trying: #include <Audio.au3> _SoundSetMasterVolume(50) HotKeySet("{g}", "GetVolume") While 1 Sleep(10) WEnd Func GetVolume() $vol = _SoundGetMasterVolume() MsgBox(0, "Test", $vol) EndFunc Which should result in a Msgbox saying 50, but it quits before it even reaches the while, the Set command closes the script. I have the included file in the same folder as the script I am using, but still nothing. Suggestions? Thanks. Most recent sig. I made Quick Launcher W/ Profiles Topic Movie Database Topic & Website | LiveStreamer Pro Website | YouTube Stand-Alone Playlist Manager: Topic | Weather Desktop Widget: Topic | Flash Memory Game: Topic | Volume Control With Mouse / iTunes Hotkeys: Topic | Weather program: Topic | Paws & Tales radio drama podcast mini-player: Topic | Quick Math Calculations: Topic Link to comment Share on other sites More sharing options...
JohnOne Posted February 8, 2011 Share Posted February 8, 2011 Do you have the Audio.au3 udf? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Damein Posted February 8, 2011 Author Share Posted February 8, 2011 Yes, I do. I have the included file in the same folder as the script I am using, but still nothing.I stated that there Most recent sig. I made Quick Launcher W/ Profiles Topic Movie Database Topic & Website | LiveStreamer Pro Website | YouTube Stand-Alone Playlist Manager: Topic | Weather Desktop Widget: Topic | Flash Memory Game: Topic | Volume Control With Mouse / iTunes Hotkeys: Topic | Weather program: Topic | Paws & Tales radio drama podcast mini-player: Topic | Quick Math Calculations: Topic Link to comment Share on other sites More sharing options...
JohnOne Posted February 8, 2011 Share Posted February 8, 2011 #include <Audio.au3> = #include 'Audio.au3' AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. 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