Locate

此帮助页面适用于 Desktop Studio。 此信息也适用于 Studio。

定位图标:一排方块,上方和下方有箭头指向其中一个方块

在字符串中搜索字符或文本块。

支持的脚本类型

The icon for a Generic script type - a rectangle with < and > symbols inside it.

电子邮件脚本类型的图标——菱形中的一个大 @ 符号。

聊天脚本类型的图标——一个聊天气泡,带有一个包含省略号 (...) 的菱形。

电话脚本类型的图标——一种老式电话听筒,带有曲线表示从它发出的声音。

语音邮件脚本类型的图标——一个看起来像盒式磁带的符号——两个圆圈位于一条水平线上。

工作项脚本类型的图标——一张纸,其中一个角向下折叠并且纸上有一个项目符号列表。

" \"SMS"

Digital 脚本类型的图标 - 一台计算机显示屏旁边放着一部智能手机。

通用

Email 聊天 电话 語音邮件 工作项目 短信 Digital

输入属性

这些属性定义操作在执行时使用的数据。

属性

说明

字符串 The string you want to insert, search, or parse. This property supports variable substitution. If this value is a variable, rather than the literal string value, use curly brackets ( { } ).
StringtoFind The string to look for. Use of variable substitution is common.
变量 The name of the variable that you want to hold the value.
CaseSensitive 该属性的值为 true 或 false。True 要求 StringtoFind 文本与 String 中已包含的文本完全一致,包括相同的字符大小写。

结果分支条件

结果分支条件允许您在脚本中创建分支,以在执行操作时处理不同的结果。

条件

说明

默认

Path taken unless the script meets a condition that requires it to take one of the other branches. It is also taken if the action's other branches are not defined.

OnFound

Path taken if the String to Find is located.

提示和技巧

如果找到了要搜索的字符串,则分支条件 Found 将被触发,但是,变量也将接收一个大于零的值。 这为检测文本提供了两种可能的方法。