Skip to main content
WCBaxter
Participant
August 26, 2014
Question

Adobe InDesign Package Report via AS

  • August 26, 2014
  • 2 replies
  • 1056 views

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.

This topic has been closed for replies.

2 replies

Loic.Aigon
Legend
February 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?

Participant
February 17, 2023

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

rob day
Community Expert
Community Expert
February 17, 2023

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

Participant
February 16, 2023

Hi @WCBaxter,

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

Thanks.