BDG for Custom Javascript Events

Posted by Daniel Thu, 01 Mar 2007 02:46:00 GMT

As promised a Busy Developer's Guide to Seth's Custom Javascript Event mixins. It's a truly simple example, but it should display the simplicity of getting this going, and to some degree how it separates concerns.

Seth: There's a typo I believe on line 29 of event_broker.js. And line 161 of event_mixins.js. Should they not refer to "listenForEvent"?

Posted in  | 2 comments | no trackbacks

Replacing AppleScript with Ruby

Posted by Daniel Wed, 28 Feb 2007 02:34:31 GMT

Replacing AppleScript with Ruby: Matt Neuburg, MacDevCenter.com: “I’ll explain how to download and install rb-appscript. I’ll discuss the basics of rb-appscript usage and show how to develop a simple ‘hello world’ script. Finally, I’ll rewrite the Ruby-AppleScript example from my book to use Ruby with rb-appscript instead.” [Heh. puts app(‘Finder’).home.count(:each => :item) Nice!]
Source: ranchero.com

Posted in ,  | no comments | no trackbacks