Page 2 of 2
Re: A simple keyboard volume control
Posted: Thu Oct 14, 2010 1:18 pm
by guinness
To prove my theory in AutoIt this works.
Code: Select all
For $A = 1 To 10 ; Same as 10%
Send("{VOLUME_DOWN}")
Next
Sleep(5000) ; Sleep 5 Seconds.
For $A = 1 To 10 ; Same as 10%
Send("{VOLUME_UP}")
Next
Sleep(5000) ; Sleep 5 Seconds.
Send("{VOLUME_MUTE}")
Sleep(5000) ; Sleep 5 Seconds.
Send("{VOLUME_MUTE}")
Re: A simple keyboard volume control
Posted: Thu Oct 14, 2010 1:42 pm
by dmg
I am aware of the issues with Vista and Win7. It should work under Vista if it is run using XP compatibility mode. I have thought of modifying it to be more Vista friendly but I am still undecided.
As to names, I kind of like your suggestion of VKey. Thanks.
Re: A simple keyboard volume control
Posted: Thu Oct 14, 2010 1:49 pm
by guinness
True, but if running on a USB Drive and moving from PC to PC the user who have to do this every time surely?
Re: A simple keyboard volume control
Posted: Thu Oct 14, 2010 2:11 pm
by dmg
I agree that it would not be ideal. I will look into it some more. I only have access to XP so it is hard for me to plan for Vista and up.
Re: A simple keyboard volume control
Posted: Thu Oct 14, 2010 3:47 pm
by guinness
But you know the same functions work on XP too.
Re: A simple keyboard volume control
Posted: Thu Oct 14, 2010 8:49 pm
by dmg
Of course they do, but that is not the only problem the script has in Vista and Win7. SoundGet does not work on them.
http://www.autohotkey.com/docs/commands/SoundGet.htm
So the balloon tip and changing tray icon would not function. At some point I may make a version specifically for Vista and Win7 but it would have to essentially be a completely redesigned program. I think for now I will leave things as they are. Anyone who wants the script to behave differently can modify it themselves, and more power to them.
Here is the newest version:
http://www.mediafire.com/download.php?2rri66lrdtlc9ot
Changes:
Checks whether muted on start.
Can select which sound device to effect.
Re: A simple keyboard volume control
Posted: Thu Oct 14, 2010 9:17 pm
by guinness
OK, I didn't know if you had read the limitations
Plus you may/or may not have seen this but here is SoundGet for Windows Vista/7. I would use OSVersion and then run the appropriate function. Maybe I will have a go at AHK, seems easy enough.
But it you don't have Vista+ don't worry about!
Ref: http://www.autohotkey.com/forum/topic23792.html+windows
Re: A simple keyboard volume control
Posted: Thu Dec 26, 2013 11:47 am
by webfork
Where is this program now? I don't see it on your site. Is it V-Key
http://crzyinc.weebly.com/v-key.html?
On a related note, there's a super simple AHK script that has an unfortunate name, given that Nirsoft put out something by the same name with a lot more features. Still, if you like elegant, open solutions:
http://www.sqoshsoft.co.uk/scriptlets/volumouse/
Re: A simple keyboard volume control
Posted: Fri Mar 07, 2014 11:21 pm
by dmg
Yes, that is the same app. It is on my to do list to update the app so it will worn Vista+. There are a few things ahead of it on the list though.
Re: A simple keyboard volume control
Posted: Fri Mar 14, 2014 11:13 pm
by robertcollier4