buttons
. For instance,else
).tell
specifies a program, the indented block tells it what to do, and the end tell
ends that section. Some of the commands in those indented blocks are generic (activate
). Others are more specific to the particular program. The latter are found in the AppleScript Editor’s libraries (Window -> Library); if you don’t see the program you want, click the + (plus sign) in the top of the Library window and select the program from your Applications folder.set auto checking enabled to true
) and another to add the check mail
. Similarly with iChat: log in
is a simple command, while set status message to 'Working'
is only slightly more complicated.