arbe wrote:
Do you have any further idea, why this occurs with #InstallKeybdHook only and not with #UseHook?
If you specify #UseHook, any hotkey underneath it will be detected and activated by the program rather than by the OS. This allows a hotkey to "send itself", which would otherwise be impossible because the Send command would trigger the hotkey again, which would in turn prevent the active window from seeing that ^!v had been typed.
Also, a hotkey such as ^!v can be made to fire only by means of AltGr by specifying which Control and Alt key you want (left or right). The following hotkey would be AltGr+v (left-Control and right-Alt):
<^>!v::MsgBox You pressed AltGr+v.