Jump to content

AppleScript

From Simple English Wikipedia, the free encyclopedia
Revision as of 18:06, 30 September 2014 by Grunny (talk | changes) (+file extensions)
AppleScript
DeveloperApple Inc.
Stable release2.4.2 / February 1, 2012 (2012-02-01)
OSSystem 7, Mac OS 8, Mac OS 9, Mac OS X
LicenseApple EULA (parts available under APSL)
Filename extensions.scpt .AppleScript
Websitehttp://www.apple.com/applescript/

AppleScript is a way for people to write commands and actions on their Apple Macintosh platform. It is a simple language, like English, and is made by Apple Inc. since the year 1993. The AppleScript program came from the HyperCard program.

Example

An example of the different ways to write a Hello World program in AppleScript:

display dialog "Hello World!" -- a modal window with "Ok" and "Cancel" buttons
-- or
display alert "Hello World!"  -- a modal window with a single "Ok" button
-- or
say "Hello World!" -- an audio message using a synthesized computer voice

Other websites

Official

Others