Versions Compared

Key

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


Scripting_function



Panel
titleDescription

Moves an open client to a specific monitor. Use with system.gui.getScreens() to identify monitors before moving.


Panel
titleClient Permission Restrictions

This scripting function has no Client Permission restrictions.


Panel
titleSyntax

system.gui.setScreenIndex(index)

  • Parameters

integer index - The new monitor index for this client to move to. 0 based.

  • Returns

Nothing

  • Scope

Client



Panel
titleCode Examples


Code Block
languagepy
titleCode Snippet
#This# This example could be used on a startup script to move the client to a 2nd monitor.
 
system.gui.setScreenIndex(1)