Content deleted Content added
No edit summary |
restored mention of JXA with reference |
||
(40 intermediate revisions by 27 users not shown) | |||
Line 1:
{{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 =
| logo =
| screenshot =
| caption = Script Editor running on [[macOS Monterey]]
| developer = [[Apple Inc.]]
|
|
| license = [[Proprietary software|Proprietary]]
▲| operating_system = [[System 7]], [[Mac OS 8]], [[Mac OS 9]], [[Mac OS X]]
| website = {{URL|developer.apple.com/library/archive/documentation/LanguagesUtilities/Conceptual/MacAutomationScriptingGuide/GettoKnowScriptEditor.html}}
▲| genre = [[Source code editor|Code editor]]
}}
'''Script Editor''' (called '''AppleScript Editor''' from 2009 to 2014) is a [[Source code editor|code editor]] for the [[AppleScript]] and [[JavaScript for Automation|Javascript for Automation]] scripting languages, included in [[classic Mac OS]] and [[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]] 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]], Script Editor was developed using [[Carbon (API)|Carbon]]. 10.3 introduced a new Script Editor written using [[Cocoa (API)|Cocoa]]. It was called AppleScript Editor from [[Mac OS X 10.6]] to [[OS X 10.10|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:
[[Category:Scripting languages]]
|