# AppleScript Editor

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/AppleScript_Editor
> Markdown URL: https://mediated.wiki/source/AppleScript_Editor.md
> Source: https://en.wikipedia.org/wiki/AppleScript_Editor
> Source revision: 1334636556
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

{{short description|Code editor for the AppleScript and Javascript for Automation scripting languages}}
{{more citations needed|date=November 2018}}
{{Use mdy dates|date=October 2013}}
{{Infobox software
| name                   = Script Editor
| logo                   = AppleScript Editor Logo.png
| screenshot             = AppleScript Editor.png
| caption                = Script Editor running on [macOS Monterey](/source/macOS_Monterey)
| developer              = [Apple](/source/Apple_Inc.)
| latest release version = 2.11
| latest release date    = {{start date and age|2018|08|18}}{{Citation needed|date=October 2020}}
| operating_system       = [Classic Mac OS](/source/Classic_Mac_OS), [macOS](/source/macOS)
| genre                  = [Source code editor](/source/Source_code_editor)
| license                = [Proprietary](/source/Proprietary_software)
| website                = {{URL|developer.apple.com/library/archive/documentation/LanguagesUtilities/Conceptual/MacAutomationScriptingGuide/GettoKnowScriptEditor.html}}
}}

'''Script Editor''' (called '''AppleScript Editor''' from 2009 to 2014) is a [code editor](/source/Source_code_editor) for the [AppleScript](/source/AppleScript) and [Javascript for Automation](/source/JavaScript_for_Automation) scripting languages, included in [classic Mac OS](/source/classic_Mac_OS) and [macOS](/source/macOS).<ref>{{Cite web|title=About Script Editor on Mac|url=https://support.apple.com/guide/script-editor/about-script-editor-scpedt6935/mac|access-date=2020-10-04|website=Apple Support|language=en}}</ref>

AppleScript Editor provides basic [debugging](/source/debugging) capabilities<ref>{{Cite web|title=Edit scripts with Script Editor on Mac|url=https://support.apple.com/guide/script-editor/edit-scripts-scpedt1010/2.11/mac/10.15|access-date=2020-10-04|website=Apple Support|language=en}}</ref> and can save AppleScripts as ''plain text'' (.applescript), as a ''compiled script'' (.scpt), as a ''script bundle'' (.scptd), or as an ''application'' (.app).<ref>{{Cite web|title=Save a script as an app in Script Editor on Mac|url=https://support.apple.com/guide/script-editor/save-a-script-as-an-app-scpedt1072/2.11/mac/10.15|access-date=2020-10-04|website=Apple Support|language=en}}</ref><ref>{{Cite web|title=Save a compiled script in Script Editor on Mac|url=https://support.apple.com/guide/script-editor/save-a-compiled-script-scpedt1071/mac|access-date=2020-10-04|website=Apple Support|language=en}}</ref> 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.<ref>{{Cite web|title=View an app's scripting dictionary in Script Editor on Mac|url=https://support.apple.com/guide/script-editor/view-an-apps-scripting-dictionary-scpedt1126/2.11/mac/10.15|access-date=2020-10-04|website=Apple Support|language=en}}</ref>

Prior to [Mac OS X 10.3](/source/Mac_OS_X_10.3), Script Editor was developed using [Carbon](/source/Carbon_(API)). 10.3 introduced a new Script Editor written using [Cocoa](/source/Cocoa_(API)). It was called AppleScript Editor from [Mac OS X 10.6](/source/Mac_OS_X_10.6) to [10.10](/source/OS_X_10.10), when the application added support for JavaScript for Automation.<ref>{{cite web |last=Guyot |first=Alex |date=2014-10-17 |title=Extensibility and Automation Changes in OS X Yosemite |url=https://www.macstories.net/mac/extensibility-and-automation-changes-in-os-x-yosemite/ |website=MacStories |access-date=2023-03-03}}</ref>

== See also ==
*{{section link|AppleScript|Development tools}}

==References==
{{Reflist}}
{{macOS}}

Category:MacOS programming tools
Category:Scripting languages

---
Adapted from the Wikipedia article [AppleScript Editor](https://en.wikipedia.org/wiki/AppleScript_Editor) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/AppleScript_Editor?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
