发布时间:2014-03-01 19:12:53
he scripts I posted above are those I used for TotalSpaces. Here are them converted for TotalSpaces2.Get current space:#!/usr/bin/env rubyrequire 'rubygems'require 'totalspaces2'current_space = TotalSpaces2.current_spaceputs "#{current_space}"Switch to space:.........【阅读全文】