I have built a dialogue window using
var w = new Window("dialog", "My Dialog");
This dialog contains a couple of drop down list which it uses to look up and display data from an external csv file.
This is all working well.
My problem is that I can launch the script that displays the dialog through a keyboard shortcut
With the dialog active I cannot do anything else such as run another script which will close an active Window.
Is it possible to close the dialog through a keyboard shortcut too?
Thanks for any assistance.