What is system_control?

This is library of System Control for MacRuby.

Features

  • Sleeps your system

  • Controls System volume

  • Sends Wake-on-Lan.

  • Growl Notification

  • Accesses to pasteboard.

Requirements

Installing

$ sudo macgem install system_control

Using

require 'rubygems'
require 'system_control'

System::Power.sleep

# Growl Notification
g "Growl notification test"

See here more examples.