O'Reilly logo

AppleScript® Programming for the Absolute Beginner by Jerry Lee Ford

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Back to the AppleScript Typing Test Game

Now it is time to turn your attention back to the development of the AppleScript Typing Test game. As you work on keying in this AppleScript, be sure to focus your attention on the conditional logic used to analyze player input and to determine what messages should be displayed. In addition, keep an eye on the if statement code block used at the end of the script to implement the conditional logic required to analyze the player’s final score.

Designing the Game

The AppleScript Typing Test game will be created in 11 steps, as outlined here:

1.
Create a new AppleScript and save it with a name of Typing Test.
2.
Document the script and its purpose.
3.
Set the player’s initial score.
4.
Display the first ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required