Inside Macintosh: AppleScript Language Guide / Part 2 - AppleScript Language ReferenceChapter 4 - Commands / Using Command Definitions
Examples Each command definition includes one or more short examples demonstrating how to use the command. The example in Figure 4-1 shows how to use the Move command to move a word in the Scriptable Text Editor.