torels Posted May 8, 2008 Posted May 8, 2008 (edited) func _volup($times = 2) run("C:\WINDOWS\system32\sndvol32.exe","C:\WINDOWS\system32\",@SW_HIDE) ControlGetText("[CLASS:Volume Control]","","[CLASS:msctls_trackbar32]") for $i = 1 to $times ControlSend("[CLASS:Volume Control]","","[CLASS:msctls_trackbar32; INSTANCE:2]","{UP 70}") next ProcessClose("sndvol32.exe") EndFunc func _voldown($ times = 2) run("C:\WINDOWS\system32\sndvol32.exe","C:\WINDOWS\system32\",@SW_HIDE) ControlGetText("[CLASS:Volume Control]","","[CLASS:msctls_trackbar32]") for $i = 1 to $times ControlSend("[CLASS:Volume Control]","","[CLASS:msctls_trackbar32; INSTANCE:2]","{UP 70}") next ProcessClose("sndvol32.exe") EndFunc still a bit slow... any suggestions ?? Edited May 8, 2008 by torels Some Projects:[list][*]ZIP UDF using no external files[*]iPod Music Transfer [*]iTunes UDF - fully integrate iTunes with au3[*]iTunes info (taskbar player hover)[*]Instant Run - run scripts without saving them before :)[*]Get Tube - YouTube Downloader[*]Lyric Finder 2 - Find Lyrics to any of your song[*]DeskBox - A Desktop Extension Tool[/list]indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org
Vindicator209 Posted May 9, 2008 Posted May 9, 2008 SoundSetWaveVolume() ? [center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]
torels Posted May 11, 2008 Author Posted May 11, 2008 no it's not the same thing! this one changes the computer volume and not the wave one! Some Projects:[list][*]ZIP UDF using no external files[*]iPod Music Transfer [*]iTunes UDF - fully integrate iTunes with au3[*]iTunes info (taskbar player hover)[*]Instant Run - run scripts without saving them before :)[*]Get Tube - YouTube Downloader[*]Lyric Finder 2 - Find Lyrics to any of your song[*]DeskBox - A Desktop Extension Tool[/list]indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org
Bert Posted May 12, 2008 Posted May 12, 2008 Look at the Audio.au3 in my sig. There is a better version available in the feature request forum The Vollatran project My blog: http://www.vollysinterestingshit.com/
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