rubymacosapplescriptosx-mountain-lionrb-appscript

rb-appscript not working in Mountian Lion


I'm using rb-appscript. The following line worked fine in Lion but doesn't seem to work in Mountain Lion:

desktop_bounds = Appscript.app.by_name("Finder").desktop.window.bounds.get

I have two questions:

  1. Is there a way to get fix this in Mountain Lion.
  2. I see the rb-appscript project is no longer being maintained. Is there a better alternative?

Solution

  • Just my two cent: MacRuby as a replacement is more Ruby but defintively less Appscript than rb-appscript. But it should get the job done.