Scripting Access to Text Properties of Individual Letters
If a text has multiple fonts, font sizes, colors, scripts can currently only see those properties for the very first character.
This means scripts like my TextExploder (https://aescripts.com/textexploder/ ) or Text2Spreadsheet (https://aescripts.com/text2spreadsheet/) cannot preserve the text formatting properly, if the text has multiple styles.
Instead of providing a single value for the text properties, Ae should provide scripts an array of style ranges. The XD scripting API does this and is a good example of how it can be done.
Snehal Noorani commented
I'll second this, as an artist, working in the design stage (frequently in AE, which is insane but it is what it is) I find myself building out text blocks with variations in typeface, weight, boldness, colour etc, and recently picked up textExploder to quickly break up the text block into animatable chunks.
However the formatting on individual words disappears (using textExploder), which again becomes time consuming. So I completely support whatever Mathias suggests as a solution to this as it will just help accelerate the workflow for text based motion design.