JavaScript OSA

Short description: Macintosh scripting language

JavaScript OSAParadigms| Multi-paradigm: object-oriented (prototype-based), functional, imperative, scripting

|

Family| ECMAScript
Developer| Late Night Software
First appeared| May 11, 2001; 25 years ago (2001-05-11)
Final release|

Final / 2012; 14 years ago (2012)

Typing discipline| duck, weak, dynamic
Scope| lexical
Platform| Macintosh
OS| macOS
License| proprietary freeware
Influenced by
AppleScript, JavaScript, ECMAScript

JavaScript Open Scripting Architecture (OSA), (originally JavaScript for OSA, then JavaScript OSA, abbreviated further as JSOSA), is a discontinued freeware inter-process communication scripting language for the Macintosh computer.

JavaScript OSA uses the "core language" of the Mozilla implementation of the JavaScript programming language, (see SpiderMonkey). The language is used as an alternative to the AppleScript language. Its use is unrelated to web browser-based scripting. It can be seen as having a similar function to Microsoft's JScript .NET language on Windows machines, but with no interoperability between the two languages' system-level scripting.

## Contents

* 1 Description
* 2 Alternatives
* 3 References
* 4 External links

## Description

The language is identical to Mozilla's core language, with extensions added via a Core object and a MacOS object. The latter has methods for obtaining objects that are bound to application software. This is done via the Apple event 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[1] and was dropped from Script Debugger 5 in 2012.[2]

## Alternatives

OS X Yosemite introduced JavaScript for Automation (JXA): system-wide support for scripting with JavaScript, built upon JavaScriptCore and the Open Scripting Architecture.[3] It features an Objective-C bridge which enables entire Cocoa applications to be programmed in JavaScript.[4]

## References

1. ↑ "Yosemite JavaScript for Automation Support". December 2014. http://www.latenightsw.com/2014/yosemite-javascript-for-automation-support/.
2. ↑ "What's New in Script Debugger 5.0". May 23, 2012. http://www.latenightsw.com/sd5/whats-new-in-script-debugger-5/.
3. ↑ "JavaScript for Automation". June 7, 2014. http://www.macstories.net/linked/javascript-for-automation-on-os-x-yosemite/.
4. ↑ "JavaScript for Automation Release Notes". Apple, Inc.. https://developer.apple.com/library/archive/releasenotes/InterapplicationCommunication/RN-JavaScriptForAutomation/Articles/Introduction.html.

## External links

* Official website, Late Night Software
* Hough, Richard (May 11, 2001). "JavaScript and Mac OS". O'Reilly Media. http://oreilly.com/pub/a/javascript/2001/05/11/js_for_mac.html.

* v
* t
* e

ECMAScript

Dialects|

* ActionScript
* Caja
* JavaScript
* engines
* asm.js
* JScript
* JScript .NET
* QtScript
* TypeScript
* WMLScript

Engines
(comparison)|

* Carakan
* Futhark
* InScript
* JavaScriptCore
* JScript
* KJS
* Linear B
* Narcissus
* QtScript
* Rhino
* SpiderMonkey
* TraceMonkey
* JägerMonkey
* Tamarin
* V8
* ChakraCore
* Chakra
* JScript .NET
* Nashorn

Frameworks|

| Client-side|

* Chaplin.js
* Dojo
* Echo
* Ext JS
* Google Web Toolkit
* jQuery
* Lively Kernel
* midori
* MochiKit
* MooTools
* Prototype
* Pyjs
* qooxdoo
* Rialto
* Rico
* script.aculo.us
* SmartClient
* SproutCore
* Spry
* Wakanda Framework

|

Server-side|

* AppJet
* Jaxer
* Node.js
* WakandaDB

Multiple|

* Cappuccino
* Objective-J
* PureMVC

Libraries|

* Backbone.js
* SWFObject
* SWFAddress
* Underscore.js

People|

* Brendan Eich
* Douglas Crockford
* John Resig
* Scott Isaacs

Other|

* DHTML
* Ecma International
* JSDoc
* JSGI
* JSHint
* JSLint
* JSON
* JSSS
* Sputnik
* SunSpider
* Asynchronous module definition
* CommonJS

Lists
JavaScript libraries
Ajax frameworks
Comparisons
JavaScript frameworks
server-side JavaScript

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/JavaScript OSA. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=JavaScript_OSA&oldid=4347126"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template