Use Javascript font names
I want to change the font of the selected text. For example I want to change the font to Arial.
selection[0].textRange.characterAttributes.textFont = textFonts["ArialMT"];
After a long search I realized that although the list of fonts is Arial the font name is
ArialMT.
I am new in scripting. What are the rules for font names? Do you have a list of available font names?