Script Editor (called AppleScript Editor from 2009 to 2014) is a
code editor for the
AppleScript
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 ...
and
Javascript for Automation scripting languages, included in
classic Mac OS
Mac OS (originally System Software; retronym: Classic Mac OS) is the series of operating systems developed for the Mac (computer), Macintosh family of personal computers by Apple Computer, Inc. from 1984 to 2001, starting with System 1 and end ...
and
macOS
macOS, previously OS X and originally Mac OS X, is a Unix, Unix-based operating system developed and marketed by Apple Inc., Apple since 2001. It is the current operating system for Apple's Mac (computer), Mac computers. With ...
.
AppleScript Editor provides basic
debugging
In engineering, debugging is the process of finding the Root cause analysis, root cause, workarounds, and possible fixes for bug (engineering), bugs.
For software, debugging tactics can involve interactive debugging, control flow analysis, Logf ...
capabilities and can save AppleScripts as ''plain text'' (.applescript), as a ''compiled script'' (.scpt), as a ''script bundle'' (.scptd), or as an ''application'' (.app). AppleScript Editor also handles script dictionary files, allowing the user to see what scripting classes and commands are available for each scriptable application installed on the computer.
Prior to
Mac OS X 10.3, Script Editor was developed using
Carbon
Carbon () is a chemical element; it has chemical symbol, symbol C and atomic number 6. It is nonmetallic and tetravalence, tetravalent—meaning that its atoms are able to form up to four covalent bonds due to its valence shell exhibiting 4 ...
. 10.3 introduced a new Script Editor written using
Cocoa. It was called AppleScript Editor from
Mac OS X 10.6 to
10.10, when the application added support for JavaScript for Automation.
See also
*
References
{{macOS
MacOS programming tools
Scripting languages