I have selected a group, which first object's text color I would like to change as black. How do I refer to group's first object?
Following works with normal text objects, but not with groups.
Set myInDesign = CreateObject("InDesign.Application")
Set myText = myInDesign.Selection.Item(1).Texts.Item(1)
Set myDocument = myInDesign.Documents.Item(1)
myText.FillColor = myDocument.Colors.Item("Black")