我用send发送后是乱码。
用这个
Func SendUnicode($string)
Local $char
Local $code
For $i = 1 To StringLen($string)
$char = StringMid($string, $i, 1)
$code = Asc($char)
If $code > 127 Then
$code = $code * 256
$i = $i + 1
$char = StringMid($string, $i, 1)
$code = $code + Asc($char)
EndIf
WinWaitActive("无标题 - 记事本")
Send("{ASC " & $code & "}")
Next
EndFunc
可以发送,但发送的字不对。