Copy link to clipboard
Copied
I have a script that does something like this:
app.activeDocument.dataMergeProperties.mergeRecords();
How can the operation be stopped or cancelled under script control, for example if the user decides it's taking too long?
This script is running in a designated targetengine
Copy link to clipboard
Copied
Check out the following discussion
https://community.adobe.com/t5/indesign-discussions/press-escape-to-stop-the-script/m-p/10939058
However, I doubt you will be able to fine tune that to break an existing method call as you mentioned.
-Manan