Create and deliver your own elearning using eduslide.net

Browse thousands of lessons. Create your own and share the knowledge.

Sign up for a free eduslide account !
Create your own courses.
Access thousands of lessons.

AppleScript Studio

AppleScript Studio is the breakthrough technology from Apple that combines the simplicity of AppleScript with the remarkable easy-to-use features of Interface Builder and Project Builder. Your script-based applications now can look like full-fledged Aqua applications because that's what they are. You don't need to write a line of traditional code. If you're a developer using Cocoa, or Carbon, you can now add AppleScript features to your application with AppleScript Studio. With simple hooks for everything from reading and writing your own documents, to using Web services, AppleScript Studio can open new areas of easy-to-implement opportunity. With extensive code samples, this tutorial will get you up to speed quickly. Click on one of the movie topics below to start learning!

Author: Vtc

Introducing AppleScript Studio

About the Example Code

Introduction to AppleScript Studio

AppleScript Studio Overview

Connections / Scripts / Cocoa

Creating a AppleScript Application pt. 1

Creating a AppleScript Application pt. 2

Creating a AppleScript Application pt. 3

Converting Existing AppleScripts

Reviewing AppleScript

Using Script Editor

Basic AppleScript Commands

Basic AppleScript Programming Concepts

Variables / Globals / Properties / Records

AppleScript Data Structures

Using Handlers pt. 1

Using Handlers pt. 2

Try Blocks and Error Handlers

Getting Started with Project Builder

A Project Builder Overview

Customizing Project Builder

Creating a Template-Based Application

Looking at Groups and Files

Controlling Project Builder

AppleScript Studio Assistance

Using Project Builder Find

Building and Running Projects

Working with Project Information

Getting Started with Interface Builder

An Interface Builder Overview

Working with the Design Window

Working with Palettes

Working with the Info Window

Working with the Nib File Window

Working with the Menu Editor

Advanced Design Window Techniques

Troubleshooting and Testing the Interface

Customizing Interface Builder

Working with AppleScript Studio Windows

Setting Up a Window

Using Formatters

Opening a Second Window

Using Popup Menus

Case Study (1) Creating the Application

Case Study (2) Naming Objects

Case Study (3) Finishing

Working with Text

Basic Text Fields

Formatting Text Fields

Working with Text Views

Adding Formatting Menus to Text Views

Working with Controllers

Understanding Event Processing

Defining Controllers

Working Across Nib Files

Working with Outline and Table Views

Setting Up a Table View in Interface Builder

Setting Up a Table View in Project Builder

Finishing the Table View

Setting Up an Outline View pt. 1

Setting Up an Outline View pt. 2

Setting Up an Outline View pt. 3

Finishing the Outline View

Using a Data Source with a Table View pt. 1

Using a Data Source with a Table View pt. 2

Building a Document-Based AppleScript App

Introducing the Template

Moving Data to the Document: High Level

Reading Data From Disk: High Level

Moving Data to the Document: Low Level

Reading Data from Disk: Low Level

Building an AppleScript Droplet

Introducing the Template

Creating the Droplet Window

Basic Droplet Code

Adding File Information to the Droplet pt. 1

Adding File Information to the Droplet pt. 2

Testing the Droplet

Writing for an AppleScript Studio Application

Special Handlers for AppleScript Studio pt. 1

Special Handlers for AppleScript Studio pt. 2

Other Interface and Application Handlers

Coding for an AppleScript Studio Application

Calling Code from AppleScript

Finding Methods in Cocoa Objects

Using Parameters in Calls

Overview of the Multi-Language Application

Creating the Basic Java Object

Connecting the Java Object

One More Time in Objective-C pt. 1

One More Time in Objective-C pt. 2

Assistance Within AppleScript Studio

AppleScript Studio Assistance

Tags

Using a Button

Opening in a New Window

Using the Menu

Using the Viewer

Debugging AppleScript Studio Applications

Setting Breakpoints

Using Values in the Debugger

Catching Errors

Preventive Measures

Conclusion

Reviewing the Examples