"system.gui.getOpenedWindowNames"

Hello everybody! I’d like to know why I see an empty tuple by running the following code:

.
(I want to clarify that I ran the code with some windows open).
Thank you all!

getOpenedWindows returns an empty list in the designer. Is it still empty in an actual client?

@PGriffith how would I run that in the actual client? the client does not seem to have a scripting console

Put the script in a button’s actionPerformed and print the result. Then open the client diagnostics (Ctrl + Shift + F7, if the menubar is disabled) and check the console.