Mike Oliver wrote: > Anyway, you should be able to get the information you're > looking for by piping the output of > 'xwininfo -children -id $WINDOWID' into an awk/perl/sed/whatever > script that extracts the first quoted string at end-of-line > from the output.
Oops; your awk/perl/sed/whatever command will also need to be smart enough to skip lines that begin with the word "Root", in order to avoid getting the wrong answer if the display's root window has a name. Mike. -- mike.oliver at sun.com
