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

Adobe InDesign Package Report via AS

New Here ,
Aug 26, 2014 Aug 26, 2014

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
1.0K
Translate
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

Hi @WCBaxter,

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

Thanks.

Translate
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
quote

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


By @WCBaxter



What do you mean by that?

Translate
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

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

Translate
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
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

Translate
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