xdotool : can't select a blank gedit window.
A blank gedit file named:
Unsaved Document 1
for this we run this
a=`xdotool search --name 'Unsaved'`
xdotool windowactivate --sync $a
works.
now let's close this document but leave gedit open without any files
within it. ( empty gedit window ).
so now the title is simply
gedit
for this we run this
a=`xdotool search --name 'gedit'`
xdotool windowactivate --sync $a
nope, does not work.
the reason why i need this is because i want to select the gedit window no
matter what is open within it.
regardless of the title.
No comments:
Post a Comment