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

Data Merge: How to use script on the preview next a record and pre a record?

Explorer ,
Mar 20, 2014 Mar 20, 2014

Copy link to clipboard

Copied

Preview data records too much, want to use the script implementation preview next a record and pre a record, and set shortcut keys for the script.

the following script can be opened and closed to preview:

app.menuActions.itemByID(108035).checked

But I don't know preview next a record and pre a record script in how to implement.

TOPICS
Scripting

Views

914

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
New Here ,
Sep 08, 2014 Sep 08, 2014

Copy link to clipboard

Copied

Bump. I'm looking for this shortcut as well. Any help would be very appreciated.

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
New Here ,
Apr 29, 2023 Apr 29, 2023

Copy link to clipboard

Copied

Any success? Does anyone know how to switch between records in preview with extendscript? Or how to access the text field in Data Merge with script?

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
New Here ,
Apr 29, 2023 Apr 29, 2023

Copy link to clipboard

Copied

I mean text field in DataMerge panel, the one on the bottom, where you can type the record number 🙂 Can we access it similar way I can access MenuAction with ID?

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
Guru ,
Apr 30, 2023 Apr 30, 2023

Copy link to clipboard

Copied

My experience: when I was writing a ‘Data Merge’ script, I found out that it’s impossible to turn on/off the preview button and switch records by the script as you can do in the Data Merge panel. This makes scripting Data Merge almost impossible. As a workaround, in this script I had to export pdf for one language from the Document object instead of the doc.dataMergeProperties object.

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
New Here ,
Apr 30, 2023 Apr 30, 2023

Copy link to clipboard

Copied

LATEST

Hi Kasyan, thank you for your reply 🙂

I managed to switch Data Merge preview ON/OFF by invoking respective Menu Action (Data Merge panel menu).

But in my case, I need to be able to select preview for specific records and then work with it further. I searched whole internet and I failed to find solution 😕

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