From: has Date: 2007-12-17T03:05:05+09:00 Subject: Re: wx ruby notify window? On 15 Dec, 22:27, John Joyce wrote: > > on OS X growl does use native APIs! > Cocoa does have this stuff available. It's just a PITA to dig through > the cocoa docs. Assuming that the OP is wanting to trigger user notifications from their wx app as opposed to writing a Growl-clone in wx (I wasn't sure from their post), using existing native notifier systems such as Growl seems the reasonable way to go. Growl developer docs are here: http://growl.info/documentation/developer/ It sounds like a Ruby binding is included, although it's not something I've any experience with myself. A quick Google also turns up the following, which appears to let you trigger Growl from Ruby scripts running on non-Macs. http://segment7.net/projects/ruby/growl/ > that means, however, you can access it with RubyCocoa... maybe even appscript-rb or rubyosa IIRC, RubyOSA barfs on GrowlHelperApp's dictionary (it's a bit finicky that way). Rb-appscript or (if you don't want the additional dependency) embedded AppleScripts executed via `osascript ...` should work okay though. (Can't recall if you can also trigger it directly from the command line or not.) No idea though if this would have any advantages over using Growl's existing Ruby bindings or not. HTH has -- http://appscript.sourceforge.net http://rb-appscript.rubyforge.org