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

用户界面自动化活动

上次更新日期 2025年9月29日

阻止用户输入

UiPath.UIAutomationNext.Activities.NBlockUserInput

描述

A container activity which disables the mouse and keyboard input when activities inside it run. Can be configured to block either mouse, keyboard, or both, and permits you to designate a hotkey combination to re-enable them.

项目兼容性

Windows | 跨平台

配置

  • Block - Indicates whether both keyboard and/or mouse input is blocked.
    • Keyboard and Mouse - Both keyboard and mouse are blocked.
    • Keyboard - Only keyboard input is blocked.
    • Mouse - Only mouse input is blocked.
  • Unblock using key modifiers - Indicates the key modifiers you want to use alongside the key selected in the Key property to reactivate the mouse and keyboard. The following options are available: Alt, Ctrl, Shift, and Win.
  • Unblock using key - Indicates the key you want to use to reactivate the mouse and/or keyboard input. The key can be used by itself or as part of the unblock key sequence, alogside the key modifiers.

    The unblock key sequence allows unblocking the user input, while the activity is still executing.

属性面板

选项

  • Disable automatic unblock - Indicates whether to disable the automatic unblock of input after the inner activities are executed and the scope finishes execution. User input can be manually unblocked using the Unblock User Input activity.

    Default value is False, which means that the user input is automatically unblocked.

  • Allow 3rd party applications - Indicates whether input sent by other third party applications are allowed or also blocked.

    Default value is False, which means other third party applications are also blocked.

计时

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

  • 描述
  • 项目兼容性
  • 配置

此页面有帮助吗?

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