发布时间:2014-12-20 21:49:34
require 'totalspaces2'def alfred_move_windows(reg) current_space = TotalSpaces2.current_space windows = TotalSpaces2.window_list wx = 0 wxy = 0 if !windows.empty? windows.each{|window| &nbs.........【阅读全文】
发布时间:2014-12-12 22:13:42
!/usr/bin/rubyrequire 'totalspaces2'current_space = TotalSpaces2.current_spacewindows = TotalSpaces2.window_listif current_space < 4dest_space = current_space + 1elsedest_space = 1endif !windows.empty?current_space_windows = windows.select {|window| wind.........【阅读全文】
发布时间:2014-11-26 21:29:44
Hidden Settings of MPlayerXFEB 1ST, 2013 | COMMENTSSome users want more settings, some users want more simplicity.I think exposing all the settings in the software and stacking them to the GUI is a bad choice. Not only complicating the GUI is bad, making users make the unimportant choi.........【阅读全文】
发布时间: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:.........【阅读全文】