I did find the TextstyleRange and it is helpful, but it applies to any change, not just fontsize and it doesn't seems to notice stylechanges by Nested Styles either. So not exactly what I was hoping for...
In JS, the value for the pointSize would simply be 'undefined', rather than some number.
I'd just try it out in VB and see what it reports for a mixed text.
'selects a text with multiple pointsizes. Indicated by empty Pointsize dropdown in InDesign.
VBResult = myInDesign.ActiveDocument.Stories.Item(1).Texts.Item(1).PointSize
Returns 10 on a text that has multiple pointSizes
Same line, but with a DoScript in VB:
Returns an error: "Object is invalid"
But it also returns Empty for texts that are set in only one pointSize!
What am I doing wrong please? And how is firstItem different from Item(1)?
(EDIT: I see that the forum added a space: "pointSi ze". It is not in my code)