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

receivedEvent (webtop script and webtop tray applets)

Syntax

String receivedEvent()

Description

Returns "TRUE" if the run state of an application on the webtop has changed since the last call to recievedEvent(). Otherwise it returns "FALSE".

Examples

verdict = applet.receivedEvent();
if (verdict == "TRUE")
    alert("The run state of an application on the webtop has changed!");
else
    alert("No changes this time!");

Displays a dialog indicating whether the run state of an application has changed.

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

Related topics