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

Scripting to embed Preflight

Community Beginner ,
Jul 29, 2022 Jul 29, 2022

Copy link to clipboard

Copied

Hi - does anyone know of it's possible to embed a pdf preflight profile to all documents contained within a book, simulaneously (if so is there a javascript available)?

MTIA Steve

TOPICS
Scripting

Views

117

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

correct answers 2 Correct answers

Community Expert , Jul 29, 2022 Jul 29, 2022

You can embed an InDesign profile—the document has an embed() method:

 

//embeds a preflight profile named "Transparency"
app.activeDocument.embed("Transparency")

Votes

Translate

Translate
Community Expert , Jul 29, 2022 Jul 29, 2022

Votes

Translate

Translate
Community Expert ,
Jul 29, 2022 Jul 29, 2022

Copy link to clipboard

Copied

You can embed an InDesign profile—the document has an embed() method:

 

//embeds a preflight profile named "Transparency"
app.activeDocument.embed("Transparency")

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
Community Expert ,
Jul 29, 2022 Jul 29, 2022

Copy link to clipboard

Copied

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
Community Beginner ,
Aug 01, 2022 Aug 01, 2022

Copy link to clipboard

Copied

Brian, thanks for the guidance. I currently use a script for processing book documents written by Kaysan Servetsky. I'll see if I can work it out.

Steve

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
Community Beginner ,
Aug 01, 2022 Aug 01, 2022

Copy link to clipboard

Copied

Thanks Rob, I'm not very experienced with scripting, but have managed to edit existing ones in the past. I like to learn so will endeavor to use your advice

Steve

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
Community Beginner ,
Aug 11, 2022 Aug 11, 2022

Copy link to clipboard

Copied

LATEST

Thanks Rob - finally had opportunity to run the script (as part of a 'book' Batch processing script) - does exactly what I needed!

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