JavaScript OSA

JavaScript OSA
ParadigmsMulti-paradigm: object-oriented (prototype-based), functional, imperative, scripting
FamilyECMAScript
DeveloperLate Night Software
First appearedMay 11, 2001; 25 years ago (2001-05-11)
Final release
Final / 2012; 14 years ago (2012)
Typing disciplineduck, weak, dynamic
Scopelexical
PlatformMacintosh
OSmacOS
Licenseproprietary 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.

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". Late Night Software. December 2014. Retrieved March 22, 2015.
  2. ^ "What's New in Script Debugger 5.0". Late Night Software. May 23, 2012. Retrieved March 22, 2015.
  3. ^ "JavaScript for Automation". MacStories. June 7, 2014. Retrieved August 31, 2014.
  4. ^ "JavaScript for Automation Release Notes". Apple, Inc. Retrieved August 31, 2014.

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.