活动
最新
False
横幅背景图像
用户界面自动化活动
上次更新日期 2024年4月26日

TypeText

获取通过键盘键入的内容,并将其粘贴到当前处于活动状态的用户界面元素中。 要将文本粘贴到所需的元素内,您需要将焦点放在用户界面上要粘贴文本的任意位置。 在自动化应用程序时,您可以使用此 API,您需要通过键盘键入文本,但没有移动自动化可识别的目标元素。

定义

命名空间:UiPath.MobileAutomation.API.Models

程序集:UiPath.MobileAutomation.API(在 UiPath.MobileAutomation.API.dll 中)

TypeText(string, MobileOptions.TypeTextOptions)

TypeText(
	    string text,
	    MobileOptions. TypeTextOptions options = null
)TypeText(
	    string text,
	    MobileOptions. TypeTextOptions options = null
)
text 字符串
要输入到活动用户界面元素的标准文本。
options MobileOptions.TypeTextOptions (可选)
为设置文本操作指定MobileOptions.TypeTextOptions 。 默认值为 null。
  • 定义
  • TypeText(string, MobileOptions.TypeTextOptions)

此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.