Re: [MacRuby-devel] segmentation fault 11 with net:http post inside of a function?

2013-07-04 Thread bryan rasmussen
> Perhaps copy has already been defined in top level and it do something > >important? Try rename your method to something else and try again. Hi, that's the ticket. thanks, Bryan Rasmussen ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.

Re: [MacRuby-devel] send keystrokes with system.events?

2013-07-04 Thread stephen horne
Hi Bryan, I've done this in the past using quick and dirty NSApplescript: def applescript_exec(script_string)   pnt = Pointer.new_with_type("@")   as = NSAppleScript.alloc.initWithSource(script_string)   as.executeAndReturnError(pnt) end script_string = %{   tell application "Sy

[MacRuby-devel] send keystrokes with system.events?

2013-07-04 Thread bryan rasmussen
Hi, I've been looking for examples as to how I might send keystrokes using system.events from macruby, but not finding anything. Anyone know of any, or can give me an example script so I can get a start. Thanks, Bryan Rasmussen ___ MacRuby-devel mailin