Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Scripting_function



Panel
titleDescription

Finds all of the currently open windows, returning a tuple of their paths.


Panel
titleClient Permission Restrictions

This scripting function has no Client Permission restrictions.


Panel
titleSyntax

system.gui.getOpenedWindowNames()

  • Parameters

None

  • Returns

PyTuple - A tuple of strings, representing the path of each window that is open.

  • Scope

All



Panel
titleCode Examples


Code Block
languagepy
titleCode Snippet
#This# This example prints out into the console the full path for each opened window.
 
windows = system.gui.getOpenedWindowNames()
print 'There are %d windows open' % len(windows)
for path in windows:
    print path