前のトピック: existsCalendar次のトピック: existsCustomOperator


existsCustomIcon

existsCustomIcon 関数は、カスタム アイコン オブジェクトが指定されたパスに存在するかどうかを確認します。 絶対パスまたは相対パスで指定可能です。 相対パスは、スクリプトが実行されるプロセスに対する相対パスです。

構文

bExists = existsCustomIcon(customIconPath)

引数

customIconPath (String)

存在を確認する必要のあるカスタム アイコン オブジェクトのフル/相対パスを指定します。

戻り値

bExists (Boolean)

カスタム アイコン オブジェクトが存在する場合は true を、存在しない場合は false を返します。

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