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

getObjectPlacement (webtop script and webtop tray applets)

Syntax

String getObjectPlacement(String objectName)

Description

Returns a string representing where the application will be launched. This string can be "mainbrowser", "multiplewindows", "newbrowser", "awtwindow", "localx" or "kiosk".

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

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

Examples

launchLoc = applet.getObjectPlacement(".../_ens/o=Indigo Insurance/ou=Finance/ou=Administration/cn=Phone List");
alert("The application launch location is: " + launchLoc);

Displays a dialog indicating where the application will be launched.

Related topics