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

用户界面自动化活动

上次更新日期 2026年3月4日

Positional Swipe

UiPath.MobileAutomation.Activities.PositionalSwipe

描述

滑动到屏幕上包含起点和终点的预定义位置。

备注:

当通过“滑动”活动难以找到要查找的对象的位置时,请使用此活动。请记住,位置可能是特定于设备的。滑动操作即可立即执行操作,并且不会等待特定目标出现。如果需要,可以在位置滑动之前添加延迟。当您对多个设备使用工作流时,位置滑动不起作用,因为设备坐标可能会发生变化。

项目兼容性

Windows - Legacy | Windows

配置

设计器面板
  • 起点坐标- 在设备屏幕上设置位置滑动的起点。
  • 端点坐标- 在设备屏幕上设置位置滑动的端点。
  • 坐标类型- 选择如何设置目标坐标。您可以选择以下选项之一:
    • PhysicalPixels - Use this option for workflows using a single device. Since the indication corresponds to actual pixels on the screen, it's different for each device.
    • DeviceIndependentPixels - Use this option to run workflows on devices with similar density screens. Device-independent pixels means that you are indicating a target based on the pixel density of the selected screen area.
属性面板

常见

  • 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.

输入

  • CoordinatesType - Choose how to set the target coordinates. You can select one of the following:
    • PhysicalPixels - Use this option for workflows using a single device. Since the indication corresponds to actual pixels on the screen, it's different for each device.
    • DeviceIndependentPixels - Use this option to run workflows on devices with similar density screens. Device-independent pixels means that you are indicating a target based on the pixel density of the selected screen area.
  • EndPointX - Set an ending point for your X axis on the device screen.
  • EndPointY - Set an ending point for your Y axis on the device screen.
  • StartPointX - Set a starting point for your X axis on the device screen.
  • StartPointY - Set a starting point for your Y axis on the device screen.
  • SwipePressTime - Set the duration of the swipe in milliseconds. Default set to: 4000.

其他

  • “私有”- 选中后将不再以“Verbose”级别记录变量和参数的值。
  • 描述
  • 项目兼容性
  • 配置

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新