Previous Topic: existsCalendarNext Topic: existsCustomOperator


existsCustomIcon

The existsCustomIcon function checks whether a custom icon object exists in the given path. The path can be an absolute/relative path. The relative path is relative to the process in which the script is executed.

Syntax

bExists = existsCustomIcon(customIconPath)

Arguments

customIconPath (String)

Specifies the full/relative path of the custom icon object whose existence needs to be checked.

Return Value

bExists (Boolean)

Returns true if the custom icon object exists or false if it does not.

Example

if (existsCustomIcon(customIconPath))
{
	Process.mseg_custom_icon= "CustomIcon exists" ;
}
else
{
	Process.mseg_custom_icon= "CustomIcon does not exist" ;
}