This script is for editing the contents of the text frames all together. The attribute of the first character is applied to whole contents of textframe if you run this script for it. It is assumed ...
The script for Adobe Illustrator tweaks the proportions and sizes of the letters, improving the readability of the text that the audience will be looking at from an angle.