Cycle through windows

view full story

http://aerosuidae.net – A script which cycles through all windows of the current group. New page[[Category:Howto]] [[Category:Scripts]] This ruby script cycles through all windows in the current group, not just those in the current frame. It may change the frame in which the window is located. <pre> #!/usr/bin/ruby w = `musca -c "show windows"`.split("\n") l = w.length i = w.index{|e| e.split[1] == '*'} system "musca -c \"raise #{(i+1)%l}\"" </pre> You can bind to it in . (Software)