activities
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

用户界面自动化活动

上次更新日期 2025年12月11日

ScreenPlay

UiPath.Semantic.Activities.NUITask

描述

Screen Play 是 UiPath™ 的新一代自动化智能体,旨在为桌面带来智能体行为和认知功能。Screen Play 与应用程序的交互方式非常类似于人类,即界面导航、适应变化以及处理以前无法使用传统自动化方法完成的复杂任务。

如需了解更多信息,请参阅ScreenPlay

此活动必须添加到“使用应用程序/浏览器”活动中。

项目兼容性

Windows | 跨平台

配置

  • Task - Prompt describing the UI task to be performed, with the ability to:
  • Model - Indicates the underlying LLM used by ScreenPlay for task execution planning and reasoning. The following options are available:

    UiPath(使用 Gemini 2.5 Flash)

    • 基本模式
    • 在浏览器中运行最佳
    • 采用基于页面 DOM 的专有实施方案,利用 Gemini Flash 进行推理与图像理解
    • 速度较快
    UiPath(使用 GPT-4.1)
    • 标准模型 - 适用于复杂任务
    • 在浏览器中运行最佳
    • 采用基于页面 DOM 和图像理解的专有实施方案,并使用 GPT-4.1 进行推理
    • 速度较慢
    UiPath(使用 GPT-4.1 mini)
    • 基础模式 - 速度更快、成本更低
    • 在浏览器中运行最佳
    • 采用基于页面 DOM 和图像理解的专有实施方案,并使用 GPT-4.1 mini 进行推理
    • 速度较快
    UiPath(使用 GPT-5)
    • 标准模型 - 适用于复杂任务
    • 在浏览器中运行最佳
    • 采用基于页面 DOM 和图像理解的专有实施方案,并使用 GPT-5 进行推理
    UiPath(使用 GPT-5 mini)
    • 基础模式 - 速度更快、成本更低
    • 在浏览器中运行最佳
    • 采用基于页面 DOM 和图像理解的专有实施方案,并使用 GPT-5 mini 进行推理
    • 速度较快
    OpenAI - Operator
    • 标准模型 - 适用于复杂任务
    • 适用于任何类型的应用程序,包括基于图像的界面
    • 使用 OpenAI运算符,一个基于图像的推理模型。可能是同类产品中表现最佳的
    Anthropic - Computer Use
    • 标准模型 - 适用于复杂任务
    • 适用于任何类型的应用程序,包括基于图像的界面
    • 使用 Anthropic Computer Use,这是一种基于图像的推理模型
  • Rate this activity - Good or Poor
其他选项

选项

  • Max number of steps - This is the maximum number of steps that ScreenPlay can take to achieve its goal. The property can be used as a basic guardrail to prevent infinite agentic loops.
  • Type by clipboard - Indicates whether the clipboard is used to type the given text. The following options are available:
    • 从不- 从不使用剪贴板
    • 始终- 始终使用剪贴板
    • 尽可能使用剪贴板 - 尽可能使用剪贴板。这取决于操作系统和要键入的文本(例如如果使用了任何特殊按键,则不会使用剪贴板)
  • Use DOM when available - Indicates whether DOM data will be used/sent to the LLM Model for applications where DOM can be extracted.

    DOM 只能由 UiPath LAM 实现使用。

    如果基于 DOM 的定位导致获取的元素坐标不准确,请禁用此功能。

    Default value is True.

  • Disable variable security - Indicates whether the variable security should be disabled.

    Variable security ensures that prompt instructions can not be passed via variable values.

    The purpose of this feature is to prevent prompt injection attacks and is based on LLM, so if a "false positive" occurs, the user can disable it for each ScreenPlay activity. To conclude if it is a "false positive", the user can inspect the execution trace, system prompt, reasoning, and actions.

    Enable this option only if you need to pass prompt instructions via variable values or if a "false positive" result occurred.

    Default value is False.

  • Input mode - Select which method should be used to generate keyboard and mouse input:
    • Same as App/Browser - Uses the Input mode settings from the parent Use Application/Browser activity.
    • 硬件事件- 充当真实用户,使用“硬件”输入(例如移动鼠标或敲击键盘)与应用程序交互。这些是直接发送到操作系统的硬件触发事件。虽然此方法可提供 100% 的行为模拟,但某些事件偶尔可能会丢失。作为开发者,您有责任确保所有事件都能可靠地到达目标应用程序。
    • “ChromiumAPI” - 使用调试器 API 执行操作。仅适用于 Chromium 元素。一次性发送所有文本。即使目标应用程序不在焦点中,也适用。有关更多详细信息,请参阅Chromium API
    • 模拟 - 使用辅助功能 API 进行模拟。 推荐用于浏览器、基于 Java 的应用程序、SAP。 通常比 硬件事件更可靠。 在单个 Actions中发送所有文本。 即使目标应用程序不在焦点中,也适用。 请测试您的目标应用程序用户界面元素是否支持此功能。
    • Window messages - Simulates using Win32 messages. Recommended for desktop apps. Usually more reliable than Hardware Events. Sends all text in one go. Works even if target app is not in focus. Please test if your target application UI element supports this.
  • “出错时继续” - 指定在活动引发错误时是否应继续自动化操作。 此字段仅支持 Boolean 值(TrueFalse)。 默认值为 False。 因此,如果该字段为空且活动引发错误,系统将停止执行项目。 如果该值设置为 True,则无论出现何种错误,系统都将继续执行项目。

计时

  • “在此之前延迟”- 上一个活动完成与此活动开始执行任何操作之间的延迟(以秒为单位)。默认值为 0.2 秒。在活动之间添加延迟可确保一个活动有足够的时间完成,然后再开始下一个活动。

  • 延迟 时间” - 此活动完成与下一个活动开始执行任何操作之间的延迟时间(以秒为单位)。 默认值为 0.3 秒。 在活动之间添加延迟可确保一个活动有足够的时间完成,然后再开始下一个活动。

  • 超时”- 指定最长等待时间(以秒为单位),如果超出该时间后活动并未执行,系统便会抛出错误。 默认值为 30 秒。

输出

  • Result - The result of the task, if any. For now we only support String output.
  • 描述
  • 项目兼容性
  • 配置

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo
信任与安全
© 2005-2025 UiPath。保留所有权利。