UiPath-计算机视觉-CV Click

443 阅读3分钟

UiPath.CV.Activities.CVClickWithDescriptor

单击使用 UiPath 计算机视觉神经网络定位的指定用户界面元素。

属性

Common

  • ContinueOnError - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.

📘备注:

如果“Try Catch 异常处理”* 中包含该活动且“出错时继续”* 属性的值为“True”,则系统在执行项目时不会捕获任何错误。

  • “在此之后延迟”****- 执行活动之后的延迟时间(以毫秒为单位)。
  • “在此之前延迟”****- 活动开始执行任何操作之前的延迟时间(以毫秒为单位)。
  • DisplayName - The display name of the activity.

输入

  • “单击类型”****- 指定模拟“点击”事件时所使用的鼠标点击类型(单击、双击、向上滚动、向下滚动)。系统会默认选择单击。
  • Descriptor - The on-screen coordinates of the Target and each Anchor that is used, if any. These values are stored in a CvDescriptor proprietary object. Once the Indicate On Screen feature is used at runtime, the CvDescriptor is automatically generated in this field and has the following structure:

Text

"Target: Image (14,61,105,54) OffsetPoint: (-10,-75)" +
"Anchor: Text 'Anchor1' (41,36,19,9)" +
"Anchor: Text 'Anchor2' (75,36,37,9)" +
  • “鼠标键”****- 用于执行点击操作的鼠标键(左键、右键和中键)。系统会默认选择鼠标左键。
  • “超时(毫秒)”****- 指定最长等待时间(以毫秒为单位),如果超出该时间后活动并未运行,系统便会抛出错误。默认值为 30000 毫秒(30 秒)。

RPA之家(www.rpazj.com/)是中国具有影响力的R…

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

选项

  • CursorMotionType - Specifies the type of motion performed by the mouse cursor. There are two available options:

    • Instant - The cursor jumps to the destination
    • Smooth - The cursor moves gradually towards the destination. This option is suitable for elements that respond to interaction only when the mouse smoothly enters their area. Has no effect if SendWindowMessages or SimulateClick are enabled.
      By default, Instant is selected.
  • “修饰键”* - 用于添加修饰键。可用的选项如下:“Alt”* 、“Ctrl”* 、“Shift”* 、“Win”****。

可重用区域

RPA之家二维码.jpg

  • “输入区域”****- 接收其他“计算机视觉”活动的目标,将其存储在“Rectangle”变量中并用作此活动的目标。该字段用于将同一个目标从一个活动传递到另一个活动。该字段在设计期间尤为有用,因为它可让您更轻松地对同一个用户界面元素执行多个操作。若在该字段中设置某个变量,该活动的当前目标和锚点元素均会遭到禁用。该字段仅支持“Rectangle”变量。
  • “输出区域”****- 将此活动的目标保存为“Rectangle”变量。该字段用于将同一个目标从一个活动传递到另一个活动。该字段在设计期间尤为有用,因为它可让您更轻松地对同一个用户界面元素执行多个操作。