i used this code but like before script
only write text and not click any key like ctrl or shift or ....
$hWin = _IEPropertyGet($oIE1,"hwnd")
WinActivate($hWin)
$hControl = ControlGetHandle($hWin,"","[CLASS:Internet Explorer_Server; INSTANCE:1]")
$te1.focus
$te1.value = $t1.innertext
ControlSend($hWin, "", $hControl, "test")
$te1.value = $t1.innertext