Jump to content

AppleScript

From Simple English Wikipedia, the free encyclopedia
(Redirected from Apple Script)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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
Websitehttps://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