Hi - I need to refer in a small JSL script I've written to "the window from which I'm running this script". In the past I've done that just by referencing "window(0)", but this doesn't appear to work in JMP 14: the window I want to reference seems to have changed to "window(k)" where k is the largest integer for which a window exists. Two questions:
- Am I right about this apparent change, and if so, is there a single way I can call "the window from which I'm running this script" that will work in both JMP 13 and JMP 14 without my having to check which version I'm running?
- How can I access the list of currently open windows? At the moment I'm just checking them from 1 upwards in sequence to see if each one exists, and stopping when I find one that doesn't - which works fine, but it's a little inelegant. Is there a simple function that just returns a list of them? I couldn't find one, but I might just be looking for the wrong name.
Many thanks