It is currently Tue Jun 18, 2013 2:26 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: A simple keyboard volume control
PostPosted: Thu Oct 14, 2010 1:18 pm 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 3787
To prove my theory in AutoIt this works.
Code:
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}")

_________________
Added 177 Applications: Portable and an AutoIt MVP
SoftwareSpot - Portable Apps


Top
 Profile  
 
 Post subject: Re: A simple keyboard volume control
PostPosted: Thu Oct 14, 2010 1:42 pm 
Offline
User avatar

Joined: Fri Jun 04, 2010 2:11 am
Posts: 285
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.

_________________
"My dear Mr Gyrth, I am never more serious than when I am joking."
~Albert Campion
------------------------------------------------------------------------
Website | Demo scripts | Blog | External contact


Top
 Profile  
 
 Post subject: Re: A simple keyboard volume control
PostPosted: Thu Oct 14, 2010 1:49 pm 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 3787
True, but if running on a USB Drive and moving from PC to PC the user who have to do this every time surely?

_________________
Added 177 Applications: Portable and an AutoIt MVP
SoftwareSpot - Portable Apps


Top
 Profile  
 
 Post subject: Re: A simple keyboard volume control
PostPosted: Thu Oct 14, 2010 2:11 pm 
Offline
User avatar

Joined: Fri Jun 04, 2010 2:11 am
Posts: 285
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. :?

_________________
"My dear Mr Gyrth, I am never more serious than when I am joking."
~Albert Campion
------------------------------------------------------------------------
Website | Demo scripts | Blog | External contact


Top
 Profile  
 
 Post subject: Re: A simple keyboard volume control
PostPosted: Thu Oct 14, 2010 3:47 pm 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 3787
But you know the same functions work on XP too.

_________________
Added 177 Applications: Portable and an AutoIt MVP
SoftwareSpot - Portable Apps


Top
 Profile  
 
 Post subject: Re: A simple keyboard volume control
PostPosted: Thu Oct 14, 2010 8:49 pm 
Offline
User avatar

Joined: Fri Jun 04, 2010 2:11 am
Posts: 285
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. :D

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.

_________________
"My dear Mr Gyrth, I am never more serious than when I am joking."
~Albert Campion
------------------------------------------------------------------------
Website | Demo scripts | Blog | External contact


Top
 Profile  
 
 Post subject: Re: A simple keyboard volume control
PostPosted: Thu Oct 14, 2010 9:17 pm 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 3787
OK, I didn't know if you had read the limitations :D

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. :P

But it you don't have Vista+ don't worry about!

Ref: http://www.autohotkey.com/forum/topic23792.html+windows

_________________
Added 177 Applications: Portable and an AutoIt MVP
SoftwareSpot - Portable Apps


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group