MacRubyとControlTowerのおかげで、Cocoa APIにアクセスできるHTTPサーバが簡単に用意できるようになりました。 曲をかけたり、Macをスリープさせたり、メールを送信したりすることが、別の部屋からiPadのブラウザでできちゃいます!! ためしに Macをスリープさせる機能 システムボリュームを変更する機能 iTunesを起動させる機能 を搭載してみました。 githubにソースをアップしたので、遊んでみたい方は以下のようなコマンドを入力してください。 $ sudo macgem install control_tower $ sudo macgem install system_control $ git clone git://github.com/Watson1978/system_control.git $ cd system_control/example
![MacRuby, ControlTower and System Control - Watsonのメモ](https://cdn-ak-scissors.b.st-hatena.com/image/square/e42b1d92546ad18c642bf2c132c619f03362d448/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2FW%2FWatson%2F20101020%2F20101020231732.png)