Re: [MacRuby-devel] Multiple enumerations

2012-05-02 Thread Mark Rada
If you do want to go the way of Quartz, I've already created a layer above it that you may want to use. The gem: https://rubygems.org/gems/AXTyper Example Usage: irb(main):001:0> require 'rubygems' irb(main):002:0> require 'accessibility/string' irb(main):003:0> include Accessibility::String i

Re: [MacRuby-devel] Multiple enumerations

2012-05-02 Thread Joshua Ballanco
Hmm…in general I would steer clear of scripting bridge when equivalent functionality is available elsewhere. In this case, you can make use of the Quartz Event Services. There's a Stack Overflow answer here that should be able to get you started: http://stackoverflow.com/questions/1938509/how-t

[MacRuby-devel] Multiple enumerations

2012-05-01 Thread Josh Voigts
Is there a way to get multiple enumerations to work, like in the following example. I know I could be doing this with cocoa, but it's a small scripting project. (Also I didn't feel like loading a bridge support file, would that help in this case?) framework 'ScriptingBridge' sys = SBApplication.