Thanks for the solution…now that I have learnt that the scripts run in the EDT it all makes sense.
I like nmudge’s nested solution to keep all the code together.
Will be nice to see the top level scoping caveat going away.
Thanks for the solution…now that I have learnt that the scripts run in the EDT it all makes sense.
I like nmudge’s nested solution to keep all the code together.
Will be nice to see the top level scoping caveat going away.