Ruby as a Replacement for AppleScript
March 19th, 2008 at 3:00 PM - News by John Martellaro
John Muchow has written a series of tutorials on how to replace AppleScript with Ruby. Some developer community members have chimed in, endorsing the general migration. The question was raised as to whether Apple may be grooming Ruby as an eventual AppleScript replacement.
In retrospect, CamelBones, the Perl-Cocoa bridge wasnit quite ready when Leopard was in final Beta, so it wasnit included. However, the package can still be installed from the CamelBones Website. Leopard does include the Python-Cocoa bridge, and Python is not significantly different than Perl as a pure scripting language. However, Ruby is a more modern scripting language that, in addition, is object oriented by design rather than having it added on -- and itis becomming very popular.
At RubyInside, Peter Cooper wrote, "With all of the developments going on between OS X and Ruby lately, I’m becoming convinced that Ruby could become the de-facto OS X scripting language of choice within the next few years. I’m a programmer, but I find AppleScript hideous enough to avoid it wherever possible, and I’m not the only one."
The recent discussions have drawn the attention of MacResearch.org where it was agreed that a good case is being made for making Ruby the favored scripting language in Mac OS X. While Perl and Python enthusiasts likely wonit agree, the perceived enthusiasm for Ruby by Apple by the developer community suggests that, as always, Apple will drive the Mac OS X scripting technology in directions it favors.
Recent Headlines - Updated November 10th
- Mon, 7:20 PM
- Rumor - Apple May Update iPod touch in December
- 6:45 PM
- Product News - MacUpdate Desktop Updated to 5.0.1 with New Features, Bug Fixes
- 5:16 PM
- Apple Releases Mac OS X 10.6.2 - Guest Account Bug Fixed, Much More
- 4:12 PM
- Games - New For iPhone: Star Rangers, Air Force Supremacy, Blood Beach, More
- 2:51 PM
- Apple Stock Watch - Radio Shack Jumps 14% on iPhone Deal, Apple Up 3%
- 2:25 PM
- Games - EA Scoops Up Social Games Publisher Playfish
- 1:51 PM
- Deal Brothers - Western Digital 1TB SATA Intellipower Hard Drive: $84.99
- 10:58 AM
- News - StarHub Signs Singapore iPhone Deal
- 10:36 AM
- Hot Forum Topic - Reader Speculation: What’s in Apple’s Tablet?
- 10:08 AM
- News - Apple Kicks Off New Credit Program
- 9:26 AM
- News - Apple Launches Reserve and Pick Up Program
- 8:49 AM
- News - ikee Worm Rickrolls Jailbroken iPhones
The Mac Observer Reader Specials
- TypeStyler For Mac OS X is Now Shipping! Download The Free Fully Functional 60 Day Tryout at www.typestyler.com
RamJet Memory: Mac Pro 8-core 8GB Kit $199.99, 4GB Kits $109.99! Sale on MacBook and MacBook Pro 8GB kits $549.99! New MacBook DDR3 2GB for $49.99. iMac and Mac mini 4GB Kits for $79.99! 1TB SATA Hard Drives for $109.99! Click here
OWC: Mercury On-The-Go FW800+USB2 up to 1.0TB. Bus Powered, no external power supply needed. Macworld Editors Choice, CNET Very Good Starting from $99.97, 500GB $159.99. Click here
If you're using a Mac, then you've gotta check out Full Tilt Poker for Mac. This Full Tilt Poker bonus code does the unthinkable, it actually rewards!For the latest Apple products use Ciao, a price comparison website, to find laptops like MacBook Air. Then find the best prices on MP3 players and use our comparison tool to evaluate mobile phones like the Apple iPhone.
Laptop Hardware Provided by TechRestore - Overnight Mac & iPod Repairs.

