AppleScript Editor: Difference between revisions

Content deleted Content added
Tag: Reverted
restored mention of JXA with reference
 
(3 intermediate revisions by 3 users not shown)
Line 7:
| logo = AppleScript Editor Logo.png
| screenshot = AppleScript Editor.png
| caption = AppleScriptScript Editor running on [[OSmacOS X YosemiteMonterey]]
| developer = [[Apple Inc.]]
| latest release version = 2.11
Line 21:
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]]. FromIt was called AppleScript Editor from [[Mac OS X 10.6]] to [[OS X 10.10|10.10]], itwhen wasthe calledapplication AppleScriptadded Editor.support Itfor likelyJavaScript regainedfor itsAutomation.<ref>{{cite originalweb name|last=Guyot because|first=Alex of|date=2014-10-17 the|title=Extensibility introductionand ofAutomation JavaScriptChanges forin AutomationOS 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 ==
tell application "System Events"
*{{section link|AppleScript|Development tools}}
set texttosay to "
 
 
 
"
 
display dialog "Text to type:" default answer " "
set texttosay to the text returned of the result
repeat
activate application "Roblox"
delay 300
repeat 1 times
keystroke "/"
delay 2
keystroke texttosay
delay 3.0
keystroke return
end repeat
end repeat
end tell
 
==References==