Jump to content

JavaScript OSA

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by RJFJR (talk | contribs) at 17:02, 15 May 2005 (stub to compu-soft-stub). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

JavaScript OSA, (originally JavaScript for OSA, abbreviated as JSOSA), is a 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. 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 similiar function to Microsoft's JScript .NET language on Windows machines, although there is no interoperability between the two languages' system-level scripting.

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 binded to applications. 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 of 2005, a new "alpha" version of the language was made available for testing. The company has reported that this improved second version of the language will eventually be bundled with version 4 of Script Debugger.

Critisism

As of May, 2005, JSOSA is missing some features that AppleScript supports. These would include:

  • Support for object-filtering, referred to in AppleScript as support for the "whose clause".