获取属性
<h1>功能</h1>
<p>检索用户界面元素的指定属性。</p>
<h1>输入</h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>属性</td>
<td>【字符串】下拉列表根据需求选择。待检索的属性名称,该字段仅支持字符串。</td>
<td>'title'</td>
</tr>
<tr>
<td>元素</td>
<td>【TObject】元素表达式,查找元素返还的对象所创建的变量</td>
</tr>
<tr>
<td>选取器</td>
<td>【字符串】指明屏幕上/编辑选取器/表达式编辑器</td>
<td>'<html app=''IEXPLORE.EXE'' title=''百度一下,你就知道'' /><webctrl tag=''DIV'' id=''head'' />'</td>
</tr>
<tr>
<td>超时</td>
<td>【整型】指最长等待时间(毫秒),超过时间未运行就会报错。</td>
</tr>
<tr>
<td>等待准备就绪</td>
<td>【整型】空/交互/完成</td>
<td>交互</td>
</tr>
<tr>
<td>裁剪区域</td>
<td>【TTarget】TRect/nil</td>
<td>TRect</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.该函数可以与【打开浏览器】函数搭配使用,在打开的浏览器网页中获取指定的属性。
2.若不搭配【打开浏览器】函数使用,则获取指定属性时,需要先打开一个浏览器网页。</p>
<h1>相关函数</h1>
<p>【打开浏览器】函数</p>
<h1>示例/演示</h1>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/23738908f65a528b28e615b68e91a97f" alt="" /></p>
<h1>示例附件</h1>
<p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/2faa24c59b37f7a67a958606509b9278" title="[组件[获取属性1]_20210425.db">组件[获取属性1]_20210425.db</a></p>