Replacing AppleScript with Ruby
Subject:   Eudora?
Date:   2007-03-01 05:51:58
From:   angusm
Good article - thank you. And I like the idea of using Ruby rather than AppleScript.

Unfortunately, it seems there's no escaping the "can't get there from here" frustrations of OSA, and errors that come back are rendered even more cryptic.

The first thing I wanted to do was to get the selected text from the first window in Eudora, but even identifying the first window seems impossible.


They all seem to fail with 'unknown property, element or command', making it hard to decide how to go on.

eudora = app('Eudora')
sub = eudora.messages[1].subject
puts sub

doesn't throw any errors, but it doesn't seem to give back anything useful either.

Has anyone had any success driving Eudora from rb-appscript, or is the underlying AETE too broken to allow it?

1 to 1 of 1
  1. Matt Neuburg photo Eudora?
    2007-03-01 07:35:43  Matt Neuburg | O'Reilly Author [View]

1 to 1 of 1