Yo Miguel: I wrote a little helper zsh function/shell script called xtwit.
http://zsh-templates-osx.googlecode.com/svn-history/r53/trunk/Library/init/zsh/local-functions/darwin/xtwitIt wraps the command xwit (available via fink, for example) and gives you a gui that allows you to select a window to pop to the foreground:
<<inline: Picture 1.png>>
My guess is xwit itself could be tailored to do exactly as you want, and called from a python or scheme script.
eg: xwit version 3.4 usage: xwit -display <display> -sync -pop -iconify -unmap -resize w h -rows r -columns c -[r]move x y -[r]warp x y -colormap <colormapid> -[no]save -name <name> -iconname <name> -bitmap <file> -mask <file> -[r]iconmove x y -[no]backingstore -[no]saveunder -[no]keyrepeat keycode ... keycode - keycode -id <windowid> -root -current -select -names <initialsubstrings>... [must be last] HTH, Bill On Mar 5, 2009, at 8:30 AM, Miguel Ortiz Lombardia wrote:
Dear all,I have looked in the manuals but haven't found anything concerning the possibility of bringing all coot windows to foreground. In Mac versions there is an annoying feature/bug consisting in some windows going behind the main graphic windows and being invisible in Apple's "Exposé", unless you happen to move your mouse over where they actually are. The ghost windows I call them. In this context, a "Bring all windows to front" or something similar would be helpful. If it would exist it would instantly become a button in my Menu bar...BTW, has anyone else noticed that "Sort by Date" is not working? (again, in Mack fink coot)Best, Miguel -- Miguel Ortiz Lombardía Architecture et Fonction des Macromolécules Biologiques UMR6098 ( CNRS, U. de Provence, U. de la Méditerranée ) Case 932 163 Avenue de Luminy 13288 Marseille cedex 9 France Tel : +33(0) 491 82 55 93 Fax: +33(0) 491 26 67 20 e-mail: miguel.ortiz-lombar...@afmb.univ-mrs.fr Web: http://www.pangea.org/mol/spip.php?rubrique2 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.