• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 7. Applescript & Mac OS X 10.1 > Scripting TextEdit for Fun

Scripting TextEdit for Fun

The Mac OS X application TextEdit demonstrates how Cocoa applications get AppleScript support free. The dictionary of TextEdit includes access to all documents and text in the application.

Script 14 modifies the font size of all text in the current document. Figure 42 shows the TextEdit window after the script has run.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint