3 ms·
Genuine answer here. There's no need to apologize for not constantly immersing yourself in the workings of Apple platforms. :-) JavaScript is just another inte
by stevejohnson 12y ago
Genuine answer here. There's no need to apologize for not constantly immersing yourself in the workings of Apple platforms. :-)
JavaScript is just another interface to Apple's "Open Scripting Architecture (OSA)." Previously, AppleScript was the only way to use it. The fact that they added another language indicates nothing about whether OSA will ever come to iOS. My guess is it won't; the new extensions APIs will likely handle any inter-app communication Apple wants to allow, because they are designed with iOS's sandbox model in mind already.
Put another way, Javascript is to AppleScript with respect to OS X automation, as Scala is to Java on the JVM. The existence of Scala does not indicate that the JVM will be ported to the Haiku OS. (There may be a better analogy but that's what I came up with.)
- steveax 12y agoThere are other language interfaces to OSA. Frontier's UserTalk was an early implementation (and much more useful than AppleScript IMO) IIRC, there are also Python and Ruby bindings as well.
- draegtun 12y agoYes and a Perl bridge as been part of OS X for even longer time (just type man PerlObjCBridge form terminal). Additional refs: - https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man3/PerlObjCBridge.3pm.html https://developer.apple.com/library/mac/documentation/Darwin... - http://www.macosxautomation.com/applescript/features/scriptingbridge.html http://www.macosxautomation.com/applescript/features/scripti... - https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man5/BridgeSupport.5.html https://developer.apple.com/library/mac/documentation/Darwin...