How do you minimize and maximize a unix window (such as the cmdtool window) in PERL? I am using xwd to capture the window. However, if the window is not at the top and other windows are overlayed on the window of interest, then the capture window shows the overlayed areas as junk.
Also, is there a way the just simply raise or lower the window from PERL?