For example I typically want to start firefox, then when it appears
set its size and iconify it.
At the moment I am needing to use a script to continuiously search
for a window to appear, before I can finish of its setup.
Script...
http://www.ict.griffith.edu.au/anthony/software/xwin_find.sh
Example usage of the script is in its comments.
Something like a -wait option to the search command to continually
search until it finds the window (or times out with a error).
this means I can do somethng like this
firefox &
eval $( xdotool search -limit 1 -wait 60 --classname FireFox \
getwindowgeometry -shell )
xwith -iconify -id $WINDOW
which will wait up to 60 second until it find any firefox window,
then uses "xwit" to iconify it
Note: xdotool does not have an iconify action either!
Nor can you specify the %1 as argument in an exec command argument either!
Anthony Thyssen ( System Programmer ) <A.Th...@griffith.edu.au>
--------------------------------------------------------------------------
"In the beginning their was darkness, and the darkness was without form
and void. And in addition to the darkness their was also me! And I
moved upon the face of the darkness, and I saw that I was alone..."
"Hey... bomb..."
"Let their be light ..." -- Classic SciFi Movie "DarkStar", 1974
--------------------------------------------------------------------------
Anthony's Castle http://www.ict.griffith.edu.au/anthony/
Xdotool can locate windows, but it does not have something to wait
for a specific window to appear.
--
You received this message because you are subscribed to the Google Groups "xdotool-users" group.
To post to this group, send email to xdotoo...@googlegroups.com.
To unsubscribe from this group, send email to xdotool-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/xdotool-users?hl=en.