AppleScript

AppleScript
ParadigmNatural language programming, Scripting
DeveloperApple Inc.
First appeared1993 (1993)[1]
Stable release
2.8[2] / October 16, 2014 (2014-10-16)[3]
Typing disciplineWeak, dynamic
OSSystem 7, Mac OS 8, Mac OS 9, macOS
LicenseProprietary (parts available under APSL)
Filename extensions.scpt, .scptd, .applescript
Websitedeveloper.apple.com/library/archive/documentation/AppleScript/Conceptual/AppleScriptLangGuide
Influenced by
Natural language, HyperTalk

AppleScript is a scripting language created by Apple Inc. that facilitates automated control of Mac applications. First introduced in System 7, it is currently included in macOS in a package of automation tools. The term AppleScript may refer to the scripting language, to a script written in the language, or to the macOS Open Scripting Architecture that underlies the language.[4][5]

AppleScript is primarily a mechanism for driving Apple events – an inter-application communication (IAC) technology that exchanges data between and controls applications.[4][5] Additionally, AppleScript supports basic calculations and text processing, and is extensible via scripting additions that add functions to the language.

AppleScript is tightly bound to the MacOS environment as are other command languages such as Unix shell, Windows Script Host and Rexx. In other words, AppleScript is not a general purpose scripting language like Python. One way that AppleScript is bound to the unique aspects of its environment is that it relies on applications to publish dictionaries of addressable objects and operations.

As is typical of a command language, AppleScript is not designed to directly perform intensive processing. For example, a script cannot efficiently perform intensive math operations or complicated text processing. However, AppleScript can be used in combination with other tools and technologies which allows it to leverage more efficient programming contexts.

The language has aspects of structured, procedural, object-oriented and natural language programming, but does not strictly conform to any of these paradigms.[5]: xxvi 

  1. ^ Cite error: The named reference Cook 2006 was invoked but never defined (see the help page).
  2. ^ Apple Inc. (2022). Script Editor (Version 2.11). Retrieved November 11, 2022.
  3. ^ "OS X 10.10 Yosemite release date". October 16, 2014. Retrieved November 16, 2014.
  4. ^ a b Goldstein, Adam (2005). AppleScript: the missing manual. Sebastopol, CA: O'Reilly Media. ISBN 0596008503. OCLC 56912218.
  5. ^ a b c Sanderson, Hamish; Rosenthal, Hanaan (2009). "Interacting with the Unix Command Line". Learn AppleScript (3rd ed.). Berkeley: Apress. pp. 863–896. doi:10.1007/978-1-4302-2362-7_27. ISBN 9781430223610. OCLC 308193726.

AppleScript

Dodaje.pl - Ogłoszenia lokalne