Script to close all windows
I've built a database in which several windows can be opened via a single list (in its own, separate window). The names of the windows opened from the list are determined by a calculation, and are thus all different. As a security feature, I'd like the user to be able to close the list window and all windows that may be open at the time before opening a splash window/layout.
Does anyone know how I may write a script to achieve this? Help would be much appreciated.