Files
wow/ddl/chm_output/com_fun/OutputString.html
王鹏 33dc741fd9 add 硬件控制模块 (hardware_control.py) 并修复游戏状态扫描区域宽度
- 新增 wyhkm.dll 硬件盒子 COM 接口封装,支持键盘鼠标控制
- 修复 game_state_config.json 中 scan_region_width 过小导致截图越界的问题
- 添加鼠标路径录制器、硬件测试脚本等工具
- 更新多项配置默认值

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-15 12:15:00 +08:00

43 lines
1.7 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>OutputString</title>
<link rel="stylesheet" type="text/css" href="css/help.css">
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="1" class="ts">
<tr>
<th width="50">名称</th>
<td class="name">OutputString 输出字符串</td>
</tr>
<tr>
<th>功能</th>
<td>用于向需要打字输入文本的地方输出字符串。使用<a href="Open.html">Open</a>打开设备后才可以使用它。设置输出字符串的模式使用<a href="SetMode.html">SetMode</a>,设置输出速度使用<a href="SetKeyInterval.html">SetKeyInterval</a>。如果输出的中文是乱码,则需要修改输出字符串的模式。要注意当前输入法,有的输入法不支持这样输入,会有中文无法输出或者全部无法输出的问题。</td>
</tr>
<tr>
<th>参数</th>
<td class="canshu">参数1 字符串<a href="BSTR.html">BSTR</a>类型。要输出的字符串。</td>
</tr>
<tr>
<th>返回值</th>
<td class="fanhui">布尔值。成功返回true失败返回false。</td>
</tr>
<tr>
<th>vbs<br />例子</th>
<td class="lizi">Dim DevId<br />
DevId=wyhkm.SearchDevice(&amp;h1234&amp;,&amp;hABCD&amp;,0)<br />
If DevId=-1 Then<br />
&nbsp;&nbsp;&nbsp;&nbsp;MsgBox &quot;未找到无涯键鼠盒子&quot;,4096<br />
&nbsp;&nbsp;&nbsp;&nbsp;wscript.quit<br />
End If<br />
If Not wyhkm.Open(DevId,0) Then<br />
&nbsp;&nbsp;&nbsp;&nbsp;MsgBox &quot;打开无涯键鼠盒子失败&quot;,4096<br />
&nbsp;&nbsp;&nbsp;&nbsp;wscript.quit<br />
End If<br />
wyhkm.OutputString &quot;输出字符串测试&quot;<br />
wyhkm.Close</td>
</tr>
</table>
</body>
</html>