Project

rb-notifu

0.0
No commit activity in last 3 years
No release in over 3 years
Notification system for windows. Trying to be Growl. Ruby wrapper around notifu (http://www.paralint.com/projects/notifu/index.html)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
 Project Readme

rb-notifu

Notification Kung Fu for Windows.

Notification system for windows. Trying to be Growl. Ruby wrapper around notifu (http://www.paralint.com/projects/notifu/index.html)

There are three possible alternatives to Growl on windows:

Example

require 'rb-notifu'

Notifu::show :message => "test", :type => :warn, :time => 1 do |status|
  p Notifu::ERRORS.include? status
end

sleep 1.5

Available options

:type     The type of message to display values are:
           :info   The message is an informational message
           :warn   The message is an warning message
           :error  The message is an error message
:time     The number of seconds to display (0 for infinit)
:title    The title (or prompt) of the ballon
:message  The message text
:icon     Specify an icon to use ("parent" uses the icon of the parent process)
:baloon   Enable ballon tips in the registry (for this user only)
:nosound  Do not play a sound when the tooltip is displayed
:noquiet  Show the tooltip even if the user is in the quiet period that follows his very first login (Windows 7 and up)
:xp       Use IUserNotification interface event when IUserNotification2 is available

TODO

  • Use FFI instead of embedded executable file
  • remove :baloon flag
  • Add support for Snarl
  • Add support for Growl for Windows