JavaScript OSA
   HOME

TheInfoList



OR:

JavaScript OSA, (originally ''JavaScript for OSA'', abbreviated as ''JSOSA''), is a
freeware Freeware is software, most often proprietary, that is distributed at no monetary cost to the end user. There is no agreed-upon set of rights, license, or EULA that defines ''freeware'' unambiguously; every publisher defines its own rules for t ...
inter-process communication
scripting language A scripting language or script language is a programming language that is used to manipulate, customize, and automate the facilities of an existing system. Scripting languages are usually interpreted at runtime rather than compiled. A scripting ...
for the
Macintosh computer The Mac (known as Macintosh until 1999) is a family of personal computers designed and marketed by Apple Inc. Macs are known for their ease of use and minimalist designs, and are popular among students, creative professionals, and software en ...
. JavaScript OSA uses the "core language" of the
Mozilla Mozilla (stylized as moz://a) is a free software community founded in 1998 by members of Netscape. The Mozilla community uses, develops, spreads and supports Mozilla products, thereby promoting exclusively free software and open standards, w ...
implementation of the
JavaScript JavaScript (), often abbreviated as JS, is a programming language that is one of the core technologies of the World Wide Web, alongside HTML and CSS. As of 2022, 98% of websites use JavaScript on the client side for webpage behavior, of ...
programming language A programming language is a system of notation for writing computer programs. Most programming languages are text-based formal languages, but they may also be graphical. They are a kind of computer language. The description of a programming ...
, (see
SpiderMonkey SpiderMonkey is the first JavaScript engine, written by Brendan Eich at Netscape Communications, later released as open source and currently maintained by the Mozilla Foundation. It is used in the Firefox web browser. History Eich "wrote ...
). The language is used as an alternative to the
AppleScript AppleScript is a scripting language created by Apple Inc. that facilitates automated control over scriptable Mac applications. First introduced in System 7, it is currently included in all versions of macOS as part of a package of system aut ...
language. Its use is unrelated to
web browser A web browser is application software for accessing websites. When a user requests a web page from a particular website, the browser retrieves its files from a web server and then displays the page on the user's screen. Browsers are used o ...
-based scripting. It can be seen as having a similar function to
Microsoft Microsoft Corporation is an American multinational technology corporation producing computer software, consumer electronics, personal computers, and related services headquartered at the Microsoft Redmond campus located in Redmond, Washin ...
's JScript .NET language on Windows machines, although there is no interoperability between the two languages' system-level scripting.


Description

The language is identical to Mozilla's core language, with extensions added via a "Core" object and a "MacOS" object. The MacOS object has methods for obtaining objects that are bound to
applications Application may refer to: Mathematics and computing * Application software, computer software designed to help the user to perform specific tasks ** Application layer, an abstraction layer that specifies protocols and interface methods used in a c ...
. This is done via the AppleEvent messaging system, a part of the Macintosh's Open Scripting Architecture. The language was first released in 2001, and was bundled with Late Night Software's flagship product, Script Debugger. In May 2005, a new "alpha" version of the language was made available for testing. This improved second version of the language was bundled with version 4 of Script Debugger. JavaScript OSA was eventually discontinued due to lack of interest and was dropped from Script Debugger 5 in 2012.


Alternatives

OS X Yosemite OS X Yosemite ( ; version 10.10) is the eleventh major release of macOS, Apple Inc.'s desktop and server operating system for Macintosh computers. OS X Yosemite was announced and released to developers on June 2, 2014, at WWDC 2014 and rel ...
introduced JavaScript for Automation (JXA): system-wide support for scripting with
JavaScript JavaScript (), often abbreviated as JS, is a programming language that is one of the core technologies of the World Wide Web, alongside HTML and CSS. As of 2022, 98% of websites use JavaScript on the client side for webpage behavior, of ...
, built upon JavaScriptCore and the Open Scripting Architecture. It features an Objective-C bridge which enables entire Cocoa (API), Cocoa applications to be programmed in JavaScript.


References


External links


Late Night Software
* {{DEFAULTSORT:Javascript Osa Macintosh-only software Scripting languages