Jump to content

AppleScript

From Simple English Wikipedia, the free encyclopedia
Revision as of 04:11, 17 September 2017 by KolbertBot (talk | changes) (Bot: HTTP→HTTPS (r444))
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