• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Ruby and AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ruby and AppleScript


  • Subject: Re: Ruby and AppleScript
  • From: has <email@hidden>
  • Date: Thu, 27 Mar 2008 10:19:43 +0000


On 26 Mar 2008, at 15:32, Paul Scott wrote:

With this and other non-AppleScript solutions you still have to fire up Script Editor to open the appropriate dictionary so you've got some clue as to what you can do with an application. Perhaps if there were a separate "Script Dictionary" application it wouldn't feel so clumsy.

John discusses this in his rb-appscript posts. ASDictionary can export AppleScript and appscript dictionaries in HTML format, and appscript has some cool tricks up its sleeve as well.



I'm wondering, also, is it possible to have create a droplet with an "on run" handler using ruby?


There are a few options available, depending on your requirements:

- Platypus <http://www.sveinbjorn.org/platypus> will package Python, Ruby, shell, etc. scripts as executables.

- RubyScript2Exe <http://www.erikveen.dds.nl/rubyscript2exe/> builds standalone executables, although I've not tried it myself.

- RubyCocoa is bundled with Leopard and great for writing full-fledged Cocoa apps in Ruby, though is probably overkill for what you want.

- Philip Aker provides basic OSA components for Python, Ruby, etc., allowing you to write scripts in Script Editor and save them as applets/droplets.

HTH

has

p.s. I've also got plans to write a full-featured OSA component that will support several languages including Ruby, but no ETA yet unless someone wants to sponsor it as it's several weeks' work and I'm already busy with other stuff.

--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Re: Ruby and AppleScript (From: Vince Angeloni <email@hidden>)
 >Re: Ruby and AppleScript (From: "Mark J. Reed" <email@hidden>)
 >Re: Ruby and AppleScript (From: Paul Scott <email@hidden>)

  • Prev by Date: Mail scripting…
  • Next by Date: Re: iTunes multiple changes without repeat? Speeding up things.
  • Previous by thread: Re: Ruby and AppleScript
  • Next by thread: Re: Ruby and AppleScript
  • Index(es):
    • Date
    • Thread