Determining subwindow existance
jtigor
I've tried permutations of DoWindow, SetWindow and GetWindow with no luck. The only thing I can see is to trap for an error caused by executing a command that anticipates the existence of the subwindow... there has to be a better method than that.
Thanks,
Jeff
You might try win recreation("",0) and parse the string for subwindow.
Andy
June 2, 2017 at 03:12 pm - Permalink
Print wintype("graph0#g0")
1
Print wintype("graph0#g1")
0
June 2, 2017 at 03:15 pm - Permalink
--Jim Prouty
Software Engineer, WaveMetrics, Inc.
June 3, 2017 at 11:07 am - Permalink
WinType was what I was looking for. Thanks also for bringing WhichListItem to my attention. This will be a handy tool to have... if only I can remember it.
Jeff
June 3, 2017 at 06:07 pm - Permalink