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

Adobe InDesign Package Report via AS

New Here ,
Aug 26, 2014 Aug 26, 2014

Copy link to clipboard

Copied

To create an "Adobe InDesign Package Report" manually, it is done via "File > Package > Report…" and generates a document summary similar to what is produced in packaging, but with more data.

I am struggling with creating this text doc via scripting. This is part of a multi-app process, so I'd prefer AppleScript, but I am having no luck in the dictionary. Neither package nor save report seem to produce the same document as the manual process. Does anyone have any hints for me on how to achieve this without resorting to System Events? Thanks in advance.

TOPICS
Scripting

Views

670

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 ,
Feb 16, 2023 Feb 16, 2023

Copy link to clipboard

Copied

Hi @WCBaxter,

Hope, you got a solution for this.
Can you please share it here?

Thanks.

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
People's Champ ,
Feb 17, 2023 Feb 17, 2023

Copy link to clipboard

Copied

quote

Neither package nor save report seem to produce the same document as the manual process. 


By @WCBaxter



What do you mean by that?

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 ,
Feb 17, 2023 Feb 17, 2023

Copy link to clipboard

Copied

Yes, both are different.
The script has functionality for the package and doesn't have for "save report".

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 ,
Feb 17, 2023 Feb 17, 2023

Copy link to clipboard

Copied

LATEST

There doesn’t seem to be a way to get at File>Package>Report...

 

Seems like the best you can do via JS is Package just the info:

 

var f = Folder.selectDialog("Select the folder", ""); 
var doc = app.activeDocument;
doc.packageForPrint (f,false,false,false,false,false,true,true);
File(f + "/" + doc.name).remove()

 

The OP was looking for AppleScript, so if you are on a Mac it should be possible to invoke the menu item with AS and use System Events to tab to the Report... button

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