Locate

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

Supported Script Types

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

The icon for the Email script type - a large @ symbol in a diamond.

The icon for the Chat script type - a chat bubble with an ellipsis inside (...), in a diamond shape.

The icon for the Phone script type - an old-style phone handset with curved lines indicating sound coming out of it.

The icon for the Voicemail script type - a symbol that looks like a cassette tape - two circles sitting on a horizontal line.

The icon for the Work Item script type-a piece of paper with one corner folded down and a bullet list on it.

The icon for the SMS script type - a smart phone with a chat bubble coming out of it.

The icon for the Digital script type - a computer monitor with a smartphone next to it.

通用

电子邮件 聊天 电话 语音信箱 工作项目 短信 数字

Input Properties

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

属性

说明

String 您希望插入、搜索或解析的字符串。此属性支持变量替换。如果此值为变量,而不是文字字符串值,请使用花括号 {}。
StringtoFind 要查找的字符串。使用变量替换是常见的做法。
Variable 要包含的变量的名称。 the value.
CaseSensitive 此属性的值为 true 或 false。True 要求 StringtoFind 文本与 String 中包含的文本完全相同,包括字符大小写也要相同。

Result Branch Conditions

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

条件

说明

Default

除了脚本满足条件要求其接受其他分支的情况之外,所要采用的路径。如果未定义操作的其他分支,也会执行此操作。

OnFound

当定位到“待查找的字符串”时采用的路径。

Tips & Tricks

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