Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

System control library for MacRuby

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 examples
Octocat-spinner-32 ext
Octocat-spinner-32 lib
Octocat-spinner-32 resources
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 VERSION
README.rdoc

What is system_control?

This is library of System Control for MacRuby.

Features

  • Sleeps your system

  • Controls System volume

  • Controls Screen brightness

  • Sends Wake-on-Lan.

  • Growl Notification

  • Accesses to pasteboard.

Requirements

Installing

$ sudo macgem install system_control

Using

require 'rubygems'
require 'system_control'

System::Sound.volume = 0.8
System::Screen.brightness = 0.5
System::Power.sleep

See here more examples.

Something went wrong with that request. Please try again.