从剪贴板获取
<h1>功能</h1>
<p>从剪切板检索数据,需配合设置为剪切板一起使用。</p>
<h1>输入</h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>超时(毫秒)</td>
<td>【整型】指定最长的等待时间(以毫秒为单位),默认值为30000毫秒(30秒)</td>
<td>3000</td>
</tr>
</tbody>
</table>
<h1>输出</h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>结果</td>
<td>【字符串】从剪切板检索到的数据</td>
<td>内容(创建变量)</td>
</tr>
</tbody>
</table>
<h1>注意/说明</h1>
<p>1.该函数需与【设置为剪切板】函数搭配使用。
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/d10b1a8c32f223c60a230fcfb74212c9" alt="" />
2.创建一个变量,将从剪切板检索到的数据传入到【日志消息】函数中,在控制台显示出来。
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/6eb377d325ba7e3f545b1e894ff3536b" alt="" /></p>
<h1>相关函数</h1>
<p>【设置为剪切板】函数</p>
<h1>示例/演示</h1>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/683af4b05598aa0ae23280ca82eb9fc9" alt="" /></p>
<h1>示例附件</h1>
<p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/4dac3b17f0369e0d9aee5bcd0e567422" title="[组件[从剪切板获取函数示例]_20210412.db">组件[从剪切板获取函数示例]_20210412.db</a></p>