Alright guys.. Take it easy on the comments about Google Canada.
Quote:
What about if you've mapped Alt+M to do something already? Can you then map Alt+m+s to do something else, without having the Alt+M action fire as well?
Assuming your hotkey is bound by another script, the ~ switch for the hotkey label is what you need to add.
Code:
~!m::
Msgbox Hello world.
return
If you want Alt + M + S (I think I miss-understood you guys before)
you can use GetKeyState to check if both are pressed.
Code:
!m::
!s::
GetKeyState, Check1, m, P
GetKeyState, Check2, s, P
If ( Check1 = "D" and Check2 = "D")
{
Msgbox Alt+M+S was pressed.
; asdfasdfasdf
return
}