Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Mac OS X automation with Ruby
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
tony.makhl...@gmail.com  
View profile  
 More options Jun 11 2006, 8:44 pm
Newsgroups: comp.lang.ruby, comp.sys.mac.advocacy
From: Tony.Makhl...@gmail.com
Date: 11 Jun 2006 17:44:46 -0700
Local: Sun, Jun 11 2006 8:44 pm
Subject: Mac OS X automation with Ruby
I'm considering a switch (back) from the PC to a Mac/Intel laptop. I
want to know about options to automate applications. I used AppleScript
in the past (Mac OS 9, late 1990s) and remember it as particularly
painful.
 Are there bindings for Mac automation that I can use from Ruby, by far
my most favorite language. Windows automation is a breeze with the
AutoIt/Ruby combo, and I'd hate to give that up in transitioning to the
Mac.

Cross-posted to comp.lang.ruby and comp.sys.mac.advocacy

Reply to newsgroups only. I do not check my gmail account.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tim Murray  
View profile  
 More options Jun 11 2006, 8:48 pm
Newsgroups: comp.lang.ruby, comp.sys.mac.advocacy
From: Tim Murray <no-s...@thankyou.com>
Date: Sun, 11 Jun 2006 20:48:24 -0400
Local: Sun, Jun 11 2006 8:48 pm
Subject: Re: Mac OS X automation with Ruby
On Jun 11, 2006, Tony.Makhl...@gmail.com wrote:

> I'm considering a switch (back) from the PC to a Mac/Intel laptop. I
> want to know about options to automate applications. I used AppleScript
> in the past (Mac OS 9, late 1990s) and remember it as particularly
> painful.
>  Are there bindings for Mac automation that I can use from Ruby, by far
> my most favorite language. Windows automation is a breeze with the
> AutoIt/Ruby combo, and I'd hate to give that up in transitioning to the
> Mac.

> Cross-posted to comp.lang.ruby and comp.sys.mac.advocacy

> Reply to newsgroups only. I do not check my gmail account.

Have you seen http://inquirylabs.com/blog/?p=21?

A google for macintosh ruby automate pulls up 124,000 English pages.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Une bévue  
View profile  
 More options Jun 12 2006, 3:05 am
Newsgroups: comp.lang.ruby, comp.sys.mac.advocacy
From: pere.n...@laponie.com.invalid (Une bévue)
Date: Mon, 12 Jun 2006 09:05:02 +0200
Local: Mon, Jun 12 2006 3:05 am
Subject: Re: Mac OS X automation with Ruby

<Tony.Makhl...@gmail.com> wrote:
> I used AppleScript
> in the past (Mac OS 9, late 1990s) and remember it as particularly
> painful.
>  Are there bindings for Mac automation that I can use from Ruby, by far
> my most favorite language.

their is a ruby/applescript binding called "RubyAEOSA" see
<http://www.fobj.com/rubyaeosa/>
--
une bévue

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Premshree  
View profile  
 More options Jun 12 2006, 4:33 am
Newsgroups: comp.lang.ruby, comp.sys.mac.advocacy
From: "Premshree" <premshree.pil...@gmail.com>
Date: 12 Jun 2006 01:33:51 -0700
Local: Mon, Jun 12 2006 4:33 am
Subject: Re: Mac OS X automation with Ruby

Une bévue wrote:
> <Tony.Makhl...@gmail.com> wrote:

> > I used AppleScript
> > in the past (Mac OS 9, late 1990s) and remember it as particularly
> > painful.
> >  Are there bindings for Mac automation that I can use from Ruby, by far
> > my most favorite language.

> their is a ruby/applescript binding called "RubyAEOSA" see
> <http://www.fobj.com/rubyaeosa/>

Or, of course, you could run an AppleScript from within Ruby:

   script = <<SCRIPT
        tell application "foo"
           [...]
        end tell
   SCRIPT

   `osascript -ss -e '#{script}'`

:-)

Premshree


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dale  
View profile  
 More options Jun 12 2006, 7:18 am
Newsgroups: comp.lang.ruby, comp.sys.mac.advocacy
From: "Dale" <dale.gill...@gmail.com>
Date: 12 Jun 2006 04:18:01 -0700
Local: Mon, Jun 12 2006 7:18 am
Subject: Re: Mac OS X automation with Ruby

Tony.Makhl...@gmail.com wrote:
> I'm considering a switch (back) from the PC to a Mac/Intel laptop. I
> want to know about options to automate applications. I used AppleScript
> in the past (Mac OS 9, late 1990s) and remember it as particularly
> painful.
>  Are there bindings for Mac automation that I can use from Ruby, by far
> my most favorite language. Windows automation is a breeze with the
> AutoIt/Ruby combo, and I'd hate to give that up in transitioning to the
> Mac.

I don't think you'll find Ruby as well supported on the Mac for
automation as it is on Windows.

Other than AppleScript 'bindings'/OSA there's support for Javascript,
Python and Ruby. I've put these languages in the order they're best
supported (in my limited knowledge, without having used them). A Google
search will turn up info about each.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google