Tente também isto:
~LButton & XButton1::
SetTimer detect_key_released, 50
; do sth
return
detect_key_released:
If !GetKeyState("LButton", "P")
{
SetTimer detect_key_released, off
MsgBox LButton released
return
}
If !GetKeyState("XButton1", "P")
{
SetTimer detect_key_released, off
MsgBox XButton1 released
return
}
return