附加窗口
<h1>功能</h1>
<p>使您能够附加到已打开的窗口并在其中执行多项操作的容器。使用桌面录制器时,将自动生成该活动。</p>
<h1>输入</h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>选取器</td>
<td>用于在执行活动时查找特定用户界面元素的“文本”属性。它实际上是XML片段,用于指定您要查找的图形用户界面元素及其一些父元素的。</td>
<td>'<html app=''chrome.exe'' title=''获取活动窗口--ShowDoc'' />'</td>
</tr>
<tr>
<td>窗口</td>
<td>【字符串】需要附加窗口。该字段仅接受窗口变量。</td>
<td>{填入变量名称}</td>
</tr>
</tbody>
</table>
<h1>选项</h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>搜索范围</td>
<td>在其中搜索由’选取器’属性定义的用户界面元素的应用程序窗口</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>无</p>
<h1>相关函数</h1>
<p>无</p>
<h1>示例/演示</h1>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/c1b6aa7725677ba0930f0ad7596edecf" alt="" />
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/0417aae9027790f26ef20e7673a09788" alt="" />
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/d4c2824f90adcc9c1295f6755168c373" alt="" />
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/188915b734073e0668b5d6357e7fe47a" alt="" /></p>
<h1>示例附件</h1>
<p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/c38a25acd228f11f1d14e7c135919e0d" title="[组件[附加窗口]_20210415.db">组件[附加窗口]_20210415.db</a></p>