• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Help the shocked make a transition
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: Help the shocked make a transition (From: Bruce Robertson <email@hidden>)

  • Prev by Date: Re: problem with finder sync
  • Next by Date: Re: Snow Leopard and my randsig script
  • Previous by thread: Re: Help the shocked make a transition
  • Next by thread: Re: Help the shocked make a transition
  • Index(es):
    • Date
    • Thread