Hi Laurent, On Mar 29, 2009, at 11:29 AM, Laurent Sansonetti wrote:
1) making MacRuby an OSA component, so that it's recognized by the system (osalang, Script Edit, etc.). I have no idea on how to implement this. If you're willing to check it out, the documentation is there:
http://developer.apple.com/DOCUMENTATION/Carbon/Reference/Open_Scripti_Archi...
I unfortunately think that nobody made an open-source OSA component yet. In fact, AFAIK the only other OSA component is a JavaScript implementation which is not maintained anymore (and closed-source).
Hmm, have you looked at: OSA Components Release Notes http://www.vcn.bc.ca/~philip/osa/ The OSA components included in this release enable scripting languages like Perl, Python, Ruby, sh, and Tcl to work in the OSA environment at peer level with AppleScript. TclOSAScript - Exec for MacTcl http://www.sagecertification.org/publications/library/proceedings/tcl97/full... TclOSAScript provides the ability for MacTcl scripts to run scripts in any other OSA compatible language on the Macintosh. Since the OSA is the standard mechanism for interapplication communication on the Mac, this allows MacTcl to run other applications, and provides an exec like facility (though arguably using a much richer communication model.) Frontier/ UserLand (Mac OS 9?) http://docserver.userland.com/osa/ http://www.scripting.com/frontier/snippets/userTalkEverywhere.html Not sure if any of these is what you were looking for, but figured I may as well pass them along, if only for background. -- Ernie P .