Skip to main content
Inspiring
June 6, 2009
Answered

JS for Multi-Grouped Items

  • June 6, 2009
  • 1 reply
  • 670 views

Hi

A Group object may also contain many grouped objects inside it.

Is there a JS to list all the images/textFrames inside a Multi-Grouped object?

Thank you.

This topic has been closed for replies.
Correct answer Dave_Saunders

Look in the Object Model Viewer at the Group object. You'll see:


Group.allGraphics  (Read Only)
Data Type: Array of Graphic
Adobe InDesign CS4 (6.0) Object Model Object Model
Lists all graphics contained by the Group.

Group.allPageItems  (Read Only)
Data Type: Array of PageItem
Adobe InDesign CS4 (6.0) Object Model Object Model
Lists all page items contained by the Group.

This includes all contained by any subgroup, too.

Dave

1 reply

Dave_SaundersCorrect answer
Inspiring
June 6, 2009

Look in the Object Model Viewer at the Group object. You'll see:


Group.allGraphics  (Read Only)
Data Type: Array of Graphic
Adobe InDesign CS4 (6.0) Object Model Object Model
Lists all graphics contained by the Group.

Group.allPageItems  (Read Only)
Data Type: Array of PageItem
Adobe InDesign CS4 (6.0) Object Model Object Model
Lists all page items contained by the Group.

This includes all contained by any subgroup, too.

Dave

Inspiring
June 6, 2009

Thank you once again!