Scripts quick access edit this

Synopsis Edit

Remembers window activity (moving, resizing, iconifying...) and lets you undo it.

Description Edit

Remembers window activity (moving, resizing, iconifying, shading, workspace switching) and lets you undo it.

Do you ever accidentally move a window, and then have to tediously replace it where it used to be? Ever hit a "clean up this cluttered desktop" command, and decide that the results are worse than what you started with? Then you should check this out.

Installation Edit

Install this file, and add the following lines to your .sawmillrc:

(setq load-path (cons "/directory/containing/this/file/" load-path))
(require 'undo)

And then bind the "undo" and "undo-redo" commands to two handy keys.

Problems Edit

  1. use Maximize fill window toggle, to maximize a window
  2. do Undo
  3. now the window is small, but in maximized state -> you cannot move it around.

Undo should remember also the maximize flag, and undo it. Janek Kozicki 07:08, 9 August 2008 (UTC)

Community content is available under CC-BY-SA unless otherwise noted.