I can send to active window only.
I try to use autoit, but that did not work
Code:
Dim Au3 As New AutoItX3Lib.AutoItX3
Dim hWnd As Integer= FindWindow("ElementClient Window", Nothing)
Au3.ControlSend("[handle:" Hex(hWnd) & "]", "", "", "{F1}")
Code:
Dim hWnd As Integer= FindWindow("ElementClient Window", Nothing)
PostMessage(hWnd, WM_KEYDOWN, Keys.F1, 0)






