I have a question regarding an Indesign script.
Why does this work when you close a window like:
submitButton.onClick = function(){
close();
}
But when I try to execute the function after, for example:
submitButton.onClick = function(){
close();
tagElements();
}
(note that I use the "with" tag, so no window.close())
The window does not close? Did I forget something? Should you not close the window and execute the function?
The window is initialized as follows:
var de = new Window('dialog', 'Descriptions');
source
share