Sign in to follow this  
Followers 0
Damein

Problems with Audio.au3?

4 posts in this topic

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.


MCR.jpg?t=1286371579

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

Share this post


Link to post
Share on other sites



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


MCR.jpg?t=1286371579

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

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