Skip past navigation linksSecure Global Desktop Administration Guide > Applets > receivedEvent (webtop script and webtop tray applets)

receivedEvent (webtop script and webtop tray applets)

Syntax

Skip past command syntax or program codeString 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

Skip past command syntax or program codeverdict = 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