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.applicationWithBundleIdentifier("com.apple.systemevents")

COMMAND_KEY = 1264807268
OPTION_KEY = 1265594484

sys.keystroke("u", using: COMMAND_KEY|OPTION_KEY)



It seems to only recognize the first enum... I'm probably missing
something logically here...
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to