RichText.GetTextLength

number RichText.GetTextLength (

string ObjectName )

Description

Returns the length of the text displayed in a richtext object.

Parameters

ObjectName

(string) The name of the richtext object.

Returns

(number) The length of the text displayed in the richtext object. If an error occurs, -1 is returned. You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.

See also: Related Actions