Have a look at 'formattedHeight' and 'formattedWidth' in the dictionary... :-) > From: richmondmathewson at gmail.com > On the 'Size & Position' Panel of the Prefs pane for a field > there are 2 "Fit content" buttons; one for width and one for > height. > > Does anybody know how to script a button to 'fit content' > of a textField ?