Download AppleScript: The Comprehensive Guide to Scripting and by Hanaan Rosenthal PDF

true Tell Me About It The tell statement is one of the structures you use to get the attention of the object to which you want to direct commands.

Open a new Script Editor window, and type the following: set the_city to "Providence" Since the word Providence is in quotes, AppleScript knows it’s literal text or a string, not an identifier. The variable the_city now has the string value Providence assigned to it. 2. Type another line: set the_state to "Rhode Island" 3. Now you can do something with these variables. Type a third and fourth line: set my_greeting to "Hello, I live in " & the_city& ", " & the_state display dialog my_greeting Figure 2-4 shows the script so far.

Download PDF sample

Rated 4.75 of 5 – based on 50 votes