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

getCurrentIteratorElement (webtop script and webtop tray applets)

Syntax

String getCurrentIteratorElement(String iteratorHandle)

Description

Returns the name of the current object found in the iterator identified by the iterator handle.

iteratorHandle is the handle to an iterator previously created with one of the getIterator methods.

Repeated calls to getCurrentIteratorElement will always return the same object name.

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

Examples

current = applet.getCurrentIteratorElement(iterator);

Returns the current object for the iterator handle named.

Related topics