Skip to main content
Version: Deprecated Pages
View as Markdown

system.gui.getScreenIndex

Deprecated by system.vision variations in 8.3

This function was replaced with system.vision.getScreenIndex.

Click here to learn more about system.vision variations.

This function is used in Python Scripting.

Description​

Returns an integer value representing the current screen index based on the screen from which this function was called.

Client Permission Restrictions​

This scripting function has no Client Permission restrictions.

Syntax​

system.gui.getScreenIndex()

Parameters​

Nothing

Returns​

Integer - The screen from which the function was called.

Scope​

Vision Client

Code Examples​

Example #1
# Prints an integer representing the screen from which the function was called. 
print system.gui.getScreenIndex()