var TextEdit = Application ( "TextEdit" ) ; var doc = TextEdit . documents [ 0 ] ; for ( var i = 0 ; i < doc . text . paragraphs . length ; i ++ ) { doc . text . paragraphs [ i ] . characters [ 0 ] . size = 24 ; }