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 

A hotkey(SC120)(mute) miss triggers when Ctrl+d is pressed

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
TheLeO



Joined: 11 Jun 2005
Posts: 151
Location: England ish

PostPosted: Mon Apr 07, 2008 4:56 pm    Post subject: A hotkey(SC120)(mute) miss triggers when Ctrl+d is pressed Reply with quote

Well I solved it now. But still I'm still curious if it's a bug or me just missing out on some thing......


Here's the sistuation...
I've got a Media keyboard with lots of media buttons..

I've got a volume controll, a sorta disc that you turn clockwise or antil clockwise to increase or decrease volume. It can also be pressed down to trigger a mute...

Before i used the following hotkey to make something useful out of the mute button.(ie play/pause in itunes if pressed once)

Code:

SC120::
IfWinExist, ahk_class iTunes
ControlSend, ahk_parent, {Space} ; > Play/Pause
return


However, when I press Ctrl D, the hotkey is also triggered, ie itune play./pause...

This was quite annoing, because i use Ctrl D for other things in programs. and instead of the program doing something, itunes started or stoped a song...

I was wondering is it a fault in the autohotkey scan code input, or is there something i don't know about scan codes?


Well now i realised you can just use Volume_Mute:: instead, which does not get triggered by ctrl D. Rolling Eyes
_________________
And i say: where there is a problem , there is a solution.(well some where that is.)
::
I Have Spoken
::
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports 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