AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Additional Volume Change Commands

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
green_seacow



Joined: 04 Mar 2004
Posts: 7

PostPosted: Thu Mar 04, 2004 10:55 am    Post subject: Additional Volume Change Commands Reply with quote

Hi,

It would be cool if you could get the current Wave Volume and also get/set the Main Voulme. Then you could have total control over the volume by script Smile

/Peter
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Thu Mar 04, 2004 2:42 pm    Post subject: Reply with quote

Great idea (and this is something I could use myself). For example, you could then have a hotkey adjust the volume in steps like this:

Code:
NumpadAdd:
SoundGetWaveVolume, current_volume
if current_volume < 100
{
     current_volume += 10
     if current_volume > 100
           current_volume = 100
     SoundSetWaveVolume, %current_volume%
}


Maybe it would be also nice to enhance SoundSetWaveVolume so that it accepts a prefix like this:
SoundSetWaveVolume, -10 ; Reduce the volume by 10%
SoundSetWaveVolume, +10 ; Increase the volume by 10%

Since these are easy (I hope) to add, I'll try to get to them soon.
Back to top
View user's profile Send private message Send e-mail
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Mon Mar 08, 2004 3:41 am    Post subject: Reply with quote

The latest version has some new sound commands and improvements. I'm using some of them on my home system (it's so much faster than invoking the GUI mixer panel to change the settings).
Back to top
View user's profile Send private message Send e-mail
green_seacow



Joined: 04 Mar 2004
Posts: 7

PostPosted: Mon Mar 08, 2004 2:18 pm    Post subject: Reply with quote

Looks awesome, I'll give it a try Smile

/Peter
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group