Secure Global Desktop Administration Guide > Applets > isRunning (webtop script and webtop tray applets)

isRunning (webtop script and webtop tray applets)

Syntax

String isRunning(String objectName)

Description

Returns "TRUE" if the object is a running application; otherwise, it returns "FALSE".

objectName is the full TFN name of an object on the user's webtop.

This method can be used with either the webtop script applet or the webtop tray applet.

Examples

verdict = applet.isRunning(".../_ens/o=Indigo Insurance/ou=Finance/ou=Administration/cn=Phone List");
if (verdict == "TRUE")
    alert("The object is a running application!");
else
    alert("The object is NOT a running application!");

Displays a dialog indicating whether the Phone List object is a running application or not.

Related topics