ebooksgratis.com

See also ebooksgratis.com: no banners, no cookies, totally FREE.

CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
Privacy Policy Cookie Policy Terms and Conditions
JavaScript OSA - Wikipedia, the free encyclopedia

JavaScript OSA

From Wikipedia, the free encyclopedia

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, (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, although there is no interoperability between the two languages' system-level scripting.

[edit] 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. 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. This improved second version of the language was bundled with version 4 of Script Debugger.

[edit] Criticism

As of March, 2006, JSOSA is missing some features that AppleScript supports. These include:

  • Support for object-filtering, referred to in AppleScript as support for the "whose clause".
  • Support for sending AppleEvents without waiting for replies, accomplished in AppleScript with an "ignoring application responses" statement. In fact, JSOSA does support this with the sendAENoReply method of application objects, but this requires the user to construct a "raw" AppleEvent.
  • A number of terminology bugs under Mac OS X and the 2.0 version of the interpreter.

In responding to why JSOSA "didn't take off", creator Mark Alldritt provided this list of reasons [1]:

  • AppleScript is good enough for most folks
  • users must install JSOSA before they can run scripts while AppleScript is bundled with the OS
  • Apple's less than whole hearted support for OSA (e.g. Apple's Script Editor gets a little unstable when using anything other than AppleScript, AppleScript Studio is AppleScript centric when it could/should be OSA centric)
  • my support/promotion of JSOSA has not been successful
  • my unwillingness to make JSOSA Open Source
  • more attractive alternatives (AppleEvent hooks for Perl, Python and Ruby)

[edit] External links


aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -