Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Currency Converter Tutorial

In this chapter, you’ll create a simple AppleScript Studio application that converts a dollar amount to an amount in another currency. The Currency Converter tutorial describes a number of tasks that are common to most AppleScript Studio applications, including:

You can also find a plain Cocoa version of the Currency Converter Tutorial in the Objective-C Language Documentation area of the Cocoa Documentation. That tutorial provides some information you won’t need in this chapter, such as a discussion of object-oriented design, steps for creating custom object classes, and steps for hooking up user actions to class methods. In the AppleScript Studio version of Currency Converter, you’ll handle user actions in a scripting event handler, rather than with custom classes and methods. That makes your task quite a bit simpler. However, you may want to consult the Cocoa tutorial before designing more complex AppleScript Studio applications, such as the one described in “Mail Search Tutorial: Design the Application.”

To build the Currency Converter application, you’ll perform these steps:

  1. “Design the Application”

  2. “Create a Project.”

  3. “Build the Interface.”

  4. “Connect the Interface”

  5. “Write Event Handlers”

  6. “Build and Run the Application”

This chapter assumes you have completed the Hello World tutorial in “Creating a Hello World Application” and read “AppleScript Studio Components” as well.

After completing the Currency Converter tutorial, see “Where To Go From Here” for suggestions on how to learn more about AppleScript Studio.



< Previous PageNext Page > Hide TOC


Last updated: 2006-04-04




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice