Alternately displaying two screens on a Vision Client based on a timer

I have two Vision screens in a project and would like to display them alternately on remote clients based on a timer setting (say every 30 seconds the display will change from screen 1 to screen 2 and vise versa).

Can anyone provide some pointers on how to accomplish this?

Thanks.

Use the system.nav.swapTo function on a timer component on each screen. Easy and fast.
https://docs.inductiveautomation.com/display/DOC80/system.nav.swapTo

Thank you, will give it a try.

currentWindow = system.nav.getCurrentWindow()
windowList = [
				'howFarYouveCome', 
				'globalTemplateTesting',
				'IgnForumsExcersices/nameOfParentWindow'
			]
if currentWindow in windowList:
	try:
		system.nav.swapTo(windowList[windowList.index(currentWindow)+1])
	except IndexError:
		system.nav.swapTo(windowList[0])
else:
	system.nav.openWindow(windowList[0])

This works for me on a client event timer script. You’ll want to change the array of window paths to your own paths.