> ## Documentation Index
> Fetch the complete documentation index at: https://rpa.bazhuayu.com/helpcenter/llms.txt
> Use this file to discover all available pages before exploring further.

# 鼠标悬停在窗口元素上

## 指令说明

**描述：** 将鼠标悬停在窗口的元素上。

## 参数说明

<Tabs>
  <Tab title="常规">
    <img src="https://mintcdn.com/bazhuayu-rpa-docs/W742rR5fGwXr1akA/helpcenter/commands/desktop-automation/images/win_hoverelementcommand-01.png?fit=max&auto=format&n=W742rR5fGwXr1akA&q=85&s=1021a9ea02849c53149800ab0882086d" alt="鼠标悬停在窗口元素上指令参数面板" width="660" height="270" data-path="helpcenter/commands/desktop-automation/images/win_hoverelementcommand-01.png" />

    | 参数       | 说明                               |
    | -------- | -------------------------------- |
    | **选择元素** | 选择要操作的目标元素，可直接通过"捕获新元素"或直接选择已有元素 |
  </Tab>

  <Tab title="高级">
    | 参数            | 说明              |
    | ------------- | --------------- |
    | **执行后延迟（s）**  | 输入指令执行完成后的等待时间  |
    | **等待元素存在（s）** | 输入等待目标元素存在的超时时间 |
  </Tab>
</Tabs>

## 使用示例

<img src="https://mintcdn.com/bazhuayu-rpa-docs/W742rR5fGwXr1akA/helpcenter/commands/desktop-automation/images/win_hoverelementcommand-02.png?fit=max&auto=format&n=W742rR5fGwXr1akA&q=85&s=3ce27ebcc934260916dc0a96a7523caf" alt="鼠标悬停在窗口元素上使用示例 - 流程搭建" width="927" height="186" data-path="helpcenter/commands/desktop-automation/images/win_hoverelementcommand-02.png" />

**该流程执行逻辑：**

获取标题为微信的窗口对象 → 使用【鼠标悬停在窗口元素上】将鼠标移动到微信编辑框元素上。

### 效果展示

鼠标成功悬停在指定窗口元素上。

<img src="https://mintcdn.com/bazhuayu-rpa-docs/W742rR5fGwXr1akA/helpcenter/commands/desktop-automation/images/win_hoverelementcommand-03.png?fit=max&auto=format&n=W742rR5fGwXr1akA&q=85&s=0c15db7620be45ebbff519f276f585f0" alt="鼠标悬停在窗口元素上使用示例 - 效果展示" width="261" height="113" data-path="helpcenter/commands/desktop-automation/images/win_hoverelementcommand-03.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/W742rR5fGwXr1akA/helpcenter/commands/desktop-automation/images/win_hoverelementcommand-04.png?fit=max&auto=format&n=W742rR5fGwXr1akA&q=85&s=6a4d566d6321a8208f8f9e2204768874" alt="鼠标悬停在窗口元素上使用示例 - 运行日志" width="918" height="212" data-path="helpcenter/commands/desktop-automation/images/win_hoverelementcommand-04.png" />

<Info>
  使用指令过程中遇到问题？前往 [八爪鱼RPA 开发者社区问答板块](https://rpa.bazhuayu.com/community/questions) 提问，获取官方与社区帮助。
</Info>
