AppleScript Editor
{{short description|Code editor for the AppleScript and Javascript for Automation scripting languages}}
{{refimprove|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
| developer = 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, macOS
| genre = Source code editor
| license = Proprietary
| 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 for the AppleScript and Javascript for Automation scripting languages, included in classic Mac OS and macOS.{{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}}
AppleScript Editor provides basic debugging capabilities{{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}} and can save AppleScripts as plain text (.applescript), as a compiled script (.scpt), as a script bundle (.scptd), or as an application (.app).{{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}}{{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}} 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.{{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}}
Prior to Mac OS X 10.3, Script Editor was developed using Carbon. 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.{{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}}
See also
- {{section link|AppleScript|Development tools}}