AppleScript Editor: Difference between revisions

Content deleted Content added
mNo edit summary
Tags: possible vandalism Visual edit
restored mention of JXA with reference
 
(28 intermediate revisions by 20 users not shown)
Line 1:
{{short description|Code editor for the AppleScript and Javascript for Automation scripting languages}}
kdlhfoiHEJSDIFNIEWHBJKFDHOGSHROESGOFDHhjfhgjah;eorhgakhorgfhlkhgarewtratoihirhsgouhasghf {{Mac OS X}}
{{refimprove|date=November 2018}}
 
{{Use mdy dates|date=October 2013}}
[[Category:OS X programming tools]]
{{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 software|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 [[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:OS XMacOS programming tools]]
[[Category:Scripting languages]]