[ANN] RubyOSA 0.2.0

  • Thread starter Laurent Sansonetti
  • Start date
L

Laurent Sansonetti

Hi,

I'm pleased to announce the second public release of RubyOSA, 0.2.0.

RubyOSA is a bridge that connects Ruby to the Apple Event Manager
infrastructure. In big words, it allows you to do in Ruby what you
could do in AppleScript.

It can either be installed via RubyGems (gem install rubyosa), or
manually by building the sources.

More information on the project home page (including a more deeply
project description, samples etc...):

http://rubyosa.rubyforge.org/

RubyOSA is still under heavy development, however you might already
find it useful.

Following are the release notes. Enjoy!

Laurent

Features:
- Added support for some picture types ;
- Possible to use UTF-8 strings (if OSA.utf8_strings is set to true) ;
- Added new samples: Finder_show_desktop, BBEdit_unix_script, iTunes_artwork
and iChat_images ;
- Translate file paths, Hashes, floating types and missing types.

Bugfixes:
- Handle application errors and convert them as Ruby exceptions ;
- Added 'class' to the list of reserved Ruby keywords to prefix when generating
method parameters ;
- Suffix method names that are already registered with an integer value
instead of prefixing with 'osa_' as there might be more than 2 duplicates ;
- Register the ID property if not already defined ;
- Fixed conversion handlers to not use 'self' ;
- Make sure to swap the data of 'type' coerced descriptors ;
- Convert four char codes to the Mac Roman encoding before using them,
as otherwise they could be considered as more-than-4-bytes strings ;
- Remove invalid characters when generating constants ;
- Changed the "require 'rubygems'..." expressions to make them compatible with
Ruby 1.8.2 ;
- Try to require 'rubygems' in samples, as RubyOSA may have been
installed as a gem ;
- Fixed generated code for methods taking an enumeration-like parameter.
 
M

Mat Schaffer

Hi,

I'm pleased to announce the second public release of RubyOSA, 0.2.0.

*applauds*

Thanks for this. I'm not sure what I'll use it for just yet, but it
just oozes usefulness :)
-Mat
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

[ANN] RubyOSA 0.4.0 0
[ANN] RubyOSA 0.3.0 0
[ANN] RubyOSA 0.1.0 1
[ANN] FFI 0.2.0 19
[ANN] quickl 0.2.0 Released 1
[ANN] win32-taskscheduler 0.2.0 0
[ANN] doodle 0.2.0 Released 0
[ANN] win32-pipe 0.2.0 0

Members online

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,740
Latest member
JudsonFrie

Latest Threads

Top