AppleScript Editor: Difference between revisions

Content deleted Content added
history
restored mention of JXA with reference
 
(36 intermediate revisions by 24 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 = AppleScriptScript Editor
| logo = [[Image:AppleScript Editor Logo.png|75px]]
| screenshot = [[File:AppleScript Editor.png|300px]]
| caption = Script Editor running on [[macOS Monterey]]
| description = Screenshot of AppleScript Editor
| developer = [[Apple Inc.]]
| latest_release_versionlatest release version = 2.6.111
| latest_release_datelatest release date = {{Startstart date and age|20132018|1008|2218}}{{Citation needed|date=October 2020}}
| operating_system = [[System 7]], [[Mac OS 8]], = [[Classic Mac OS 9]], [[Mac OS XmacOS]]
| latest_preview_version =
| genre = [[Source code editor|Code editor]]
| latest_preview_date =
| 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]]
| license = Apple [[EULA]]
| website = [http://developer.apple.com/applescript/ http://developer.apple.com/applescript/]
}}
 
'''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''' is a [[Source code editor|code editor]] for the [[AppleScript]] scripting language, included in [[Mac OS]]. AppleScript Editor provides basic [[debugging]] 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.
 
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.4]], Script Editor was developed using the [[Carbon (API)]]. 10.4 introduced a new Script Editor written using [[Cocoa (API)]].
 
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>
== History ==
AppleScript Editor was known as "Script Editor" until [[Mac OS X 10.6]].
 
== See also ==
*[[AppleScript#AppleScript_development_tools{{section link|AppleScript development|Development tools]]}}
 
==References==
{{Mac OS X}}
{{Reflist}}
{{macOS}}
 
[[Category:OS XMacOS programming tools]]
[[Category:Scripting languages]]