Re: Help the shocked make a transition
Re: Help the shocked make a transition
- Subject: Re: Help the shocked make a transition
- From: has <email@hidden>
- Date: Thu, 3 Sep 2009 18:31:17 +0100
On 1 Sep 2009, at 20:46, Bruce Robertson wrote:
One thing I'd suggest both the AppleScript engineers and the more
experienced AppleScript/Cocoa developers take a look at is MacRuby's
HotCocoa library (http://www.macruby.org/trac/wiki/HotCocoa). [...]
Might be helpful some day; but oops. Empty tutorial.
http://www.macruby.org/trac/wiki/HotCocoaTutorial
Eh. MacRuby is still very much a work in progress, as you can see. Bit
more information here:
http://www.macruby.org/hotcocoa.html
At any rate, it's the overall concept behind HotCocoa that's of most
interest here (although a look at the implementation may help to
provide inspiration if you can read MacRuby code). Identify the bits
of Cocoa that are of greatest interest to AppleScripters, and create
reusable script object-based wrappers around them to provide a
simpler, gentler interface for performing common tasks without
preventing access to non-wrapped features.
I suspect many AppleScripters are going to look at the raw Cocoa APIs
that ASObjC exposes and go "OMFG, that's much too low-level for me!"
But really, that's exactly what you need as a starting point: you can
then build on top of that foundation to provide the higher-level
interfaces and home comforts you want. It's a lot easier to build
upwards than downwards to get the functionality you need. That was one
of the big problems with Studio: the moment you exceeded its out-of-
the-box capabilities, you pretty much had to switch to another
language, either in part or [thanks to the lousy lack of direct access
between ObjC and AS] in whole.
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden