AppleScript App Created! How to Set Text Alignment and Face

I have created an App using AppleScript. It opens at login. The text in the text box is a challenge to interpret (especially when viewing it from afar)? So... Using AppleScript... How do I modify the font alignment (from “Left” to that of “Center”)? How do I Modify the font’s face (to Bold)? How do I change the font type (to Courier New)? How do I enlarge the font size (to pt. 18)?

Replies

Depending on how you are creating the application and what the "text box" is, you can set attributes from Xcode, use methods from the NSControl class, or use an attributed string. If you are just using display dialog from StandardAdditions, it can't be customized - what you see is all you get.