• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
6

Scripting: How to cancel long-running DataMerge.mergeRecords()?

Community Beginner ,
Aug 02, 2023 Aug 02, 2023

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

TOPICS
Scripting

Views

70

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 02, 2023 Aug 02, 2023

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines