MACSCRPT Archives

October 2006

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Wed, 11 Oct 2006 23:37:22 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (49 lines)
Hi all,

Announcing the first public release of Ruby appscript, a high-level,  
user-friendly Apple event bridge that allows you to control  
scriptable Mac OS X applications using ordinary Ruby scripts.

http://rb-appscript.rubyforge.org/

Appscript makes Ruby a serious alternative to Apple's own AppleScript  
language for automating your Mac. Here's a quick example:

require "appscript"

AS.app('TextEdit').documents.end.make(
     :new => :document,
     :with_properties => {:text => "Hello World!\n"})

Ruby appscript is a port of the popular Python appscript package  
<http://appscript.sourceforge.net/>, so while this initial release  
may lack a little polish in places, it's based on a mature, well- 
proven architecture that has been developed, tested and refined over  
several years. As a result, rb-appscript 0.1.1 offers a level of  
power, robustness and performance that is already very close to py- 
appscript's, with further improvements to come.

The rb-appscript package includes additional example scripts,  
documentation and a tutorial, and can be downloaded from:

http://rubyforge.org/projects/rb-appscript/

Forums for discussing rb-appscript are also available. Questions, bug  
reports, suggestions for improvements, etc. will all be very welcome.

Enjoy!

has
-- 
http://freespace.virgin.net/hamish.sanderson/
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org




-- 
http://freespace.virgin.net/hamish.sanderson/
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org

ATOM RSS1 RSS2