system.gui.getCurrentDesktop
This function is used in Python Scripting.
Descriptionβ
Returns the handle of the desktop this function was called from. Commonly used with the system.gui.desktop and system.nav.desktop functions.
Client Permission Restrictionsβ
This scripting function has no Client Permission restrictions.
Syntaxβ
system.gui.getCurrentDesktop( )
Parametersβ
Nothing
Returnsβ
String - The handle of the current desktop.
Scopeβ
Vision Client
Code Exampleβ
Getting a Desktop's Handle
# Shows the desktop's handle in a message box.
system.gui.messageBox("This desktop's handle is: %s" % system.gui.getCurrentDesktop())