Zedna Posted March 24, 2008 Posted March 24, 2008 Look here Resources UDF ResourcesEx UDF AutoIt Forum Search
Aassdd Posted March 24, 2008 Author Posted March 24, 2008 Thank you Zedna. Another question. I made a media player which exits like this: Func _Exit() Local $vol = _SoundGetMasterVolume() DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $MediaPlayer, "int", 500, "long", 0x00090000) Do _SoundSetMasterVolume(_SoundGetMasterVolume() - 1) Sleep(10) Until _SoundGetMasterVolume() = 0 _SoundStop($sound) _SoundSetMasterVolume($vol) Exit EndFunc The problem, is that the volume decreases for everything. So if I'm playing a game, the sound will keep decreasing until my script exists. Is it possible the volume in that function to affect only my script?
Aassdd Posted March 24, 2008 Author Posted March 24, 2008 Just posted yesterday lol.... anyway thank you both.
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