Asked • 06/05/19

Why does closing a window in Indesign doesn't work?

I have a question concerning Indesign script. Why does it work, when you close a window like: submitButton.onClick = function(){ close(); } But when I try to execute a function afterwards like: submitButton.onClick = function(){ close(); tagElements(); } (note I am using the "with" tag, so no `window.close()` is needed) The window does not close? Am I forgetting about something here? Shouldn't the window close, and then execute the function? The window is initialized like: var de = new Window('dialog', 'Descriptions');

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.