=========================f8.sh======================
WID=$(xdotool getwindowfocus -f)
xdotool windowactivate $WID
xdotool windowfocus $WID
xdotool key Escape
xdotool type [8
echo "hello there"
echo $WID > 1234.txt
=====================================================
The echo statements at the end are just to see if it's working.
I bound F8 to gnome-terminal and a terminal opened so I know that the
actual key binding is working.
When I bind F8 to /home/william/bin/f8.sh, nothing happend. The
1234.txt is not created and there is nothing typed or keyed by
xdotool. Doing bash f8.sh does exactly what I want, so I don't see
why things aren't working.
Any thoughts?
Regards,
Bill
--
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.
I'm actually not sure what version I'm using. I downloaded
xdotool_20090330-1_i386.deb and installed it but I don't see a version
command line flag to give me the version.
Bill
20090330 is in testing right now, mainly because of some difficulties
we're having building on hurd-i386, it looks like:
https://buildd.debian.org/pkg.cgi?pkg=xdotool
i'll see what i can do to coax the build on hurd to complete (or maybe
report problems with it) so that the new package migrates, finally.
At any rate, if you want a recent version, you should try grabbing the
.deb from unstable.
If people are interested, i can also backport the new version once it
hits testing.
--dkg
I am running ubuntu 9.04. I added the following line to my sources.list
deb http://ftp.de.debian.org/debian sid main
Then apt-get update and then apt-get install xdotool. I think I
should have the latest version now right?
I ask because I am still having trouble with binding my script to a
keyboard shortcut.
=========================f8.sh======================
WID=$(xdotool getwindowfocus -f)
xdotool windowactivate $WID
xdotool windowfocus $WID
xdotool key Escape
xdotool type [8
=====================================================
How do I make sure I get the latest version ...
I am running ubuntu 9.04. I added the following line to my sources.list
deb http://ftp.de.debian.org/debian sid main
Then apt-get update and then apt-get install xdotool. I think I
should have the latest version now right?
I ask because I am still having trouble with binding my script to a
keyboard shortcut.