Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
AppleScript
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==={{anchor|AppleScriptObjC}}AppleScriptObjC=== A [[Cocoa (API)|Cocoa]] development [[software framework]], also called AppleScript/Objective-C or ASOC,<ref>{{cite web |last=Tsai |first=Michael |date=September 29, 2014 |title=AppleScript and Yosemite |url=https://mjtsai.com/blog/2014/10/29/applescript-and-yosemite/ |website=mjtsai.com |access-date=May 9, 2017}}</ref> part of the Xcode package since [[Mac OS X Snow Leopard]].<ref>{{cite web |url=https://developer.apple.com/library/content/releasenotes/ScriptingAutomation/RN-AppleScriptObjC/ |title=AppleScriptObjC Release Notes |website=developer.apple.com |access-date=May 8, 2017}}</ref> AppleScriptObjC allows AppleScripts to use Cocoa classes and methods directly.<ref>{{cite web |last=Waldie |first=Ben |date=September 6, 2012 |title=Building a basic AppleScriptObjC (Cocoa-AppleScript) application with Xcode |url=http://www.peachpit.com/articles/article.aspx?p=1942301 |website=peachpit.com |access-date=May 9, 2017}}</ref> The following table shows the availability of AppleScriptObjC in various versions of macOS:<ref>Table adapted from: {{cite web |last=Naganoya |first=Takaaki |title=ASObjCExtras Scripting Guide |url=http://www.piyocast.com/download_file/ASObjCExtras_scripting_guide.pdf |archive-url=https://ghostarchive.org/archive/20221009/http://www.piyocast.com/download_file/ASObjCExtras_scripting_guide.pdf |archive-date=2022-10-09 |url-status=live |website=piyocast.com |access-date=May 9, 2017}}</ref> {| class="wikitable" |+ Where AppleScriptObjC can be used in each macOS version |- ! scope=col | {{Screen reader-only|OS version}} !! scope=col | In [[Xcode]] !! scope=col | In applets !! scope=col | In [[#AppleScript Libraries|AppleScript<br/>Libraries]] !! scope=col | In [[AppleScript Editor|Script Editor]] |- | [[Mac OS X Snow Leopard|10.6]] || {{ya}} || || || |- | [[Mac OS X Lion|10.7]] || {{ya}} || {{ya}} || || |- | [[OS X Mountain Lion|10.8]] || {{ya}} || {{ya}} || || |- | [[OS X Mavericks|10.9]] || {{ya}} || {{ya}} || {{ya}} || |- | [[OS X Yosemite|10.10]] || {{ya}} || {{ya}} || {{ya}} || {{ya}} |- |} AppleScriptObjC can be used in all subsequent Mac OS X versions.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)