Windows automatic swapping

For rotating displays like this, I follow this procedure:

  • set all of the windows to open on startup.

  • use a client tag as a pointer to which window should be on top (I use one called ScreenPointer)

  • a client timer script to set the pointer:

pointer = system.tag.read('[Client]ScreenPointer').value

pointer += 1

if pointer > 5: #if max number of screens is 5
  pointer = 1
  
system.tag.write('[Client]ScreenPointer')
  • on each window (this is not a root container property, you have to highlight the window name), set the layer property to either 1 if it needs to show or 99 if it doesn’t. For example, if it’s the third window:
if({[Client]ScreenPointer} = 3, 1, 99)

This method uses more client memory, because you’re opening all the windows at once, but the transitions are seamless.

1 Like