Helpful awesome refs:
also useful...
http://dev.man-online.org/man1/xdotool/#lbAK
http://www.semicomplete.com/projects...l#window_stack
back to the thrust of the message:
As the id's of the windows are not constant...
[root@kindle root]#
xprop -root | grep -o -e [0-9]"x"[a-zA-Z0-9]*
is a place to start getting some values in realtime.
seemingly the root 0x51 is constant at least (not that that helps right now but might)
also:
[root@kindle root]#
COUNTER=4; until [ $COUNTER -lt 1 ]; do xdotool search --classname --onlyvisible Pillowd windowminimize;let COUNTER-=1; done
is helpful
[root@kindle root]#
Code:
COUNTER=4; until [ $COUNTER -lt 1 ]; do xdotool search --classname --onlyvisible webreader windowminimize;let COUNTER-=1; done
Get "HOME" ID
[root@kindle root]#
xwininfo -tree -root | grep "home" | grep -o -e 0x[a-z0-9][a-z0-9][a-z0-9][a-z0-9][a-z0-9][a-z0-9]*#
example
Quote:
[root@kindle root]# xwininfo -tree -root | grep "home" | grep -o -e 0x[a-z0-9][a-z0-9][a-z0-9][a-z0-9][a-z0-9][a-z0-9]*
0x1200002
[root@kindle root]# xdotool windowminimize 0x1200002
|