This works for me:
$ xdotool key KP_Enter
nazri
nazri
--
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.
Enlightenment comes to those who try.
oh wait... yoda says there is no try ...
so
just do it.
:)
I should clarify ... by not working I mean the enter key is not pressed in the window.
Of course it does. :]
> I do notice that it does not work if your enter/return key is currently
> being pressed (hence the sleep above).
> Can you confirm this behavior? If so, I can work on a hack around the
> problem I see where if return is currently pressed, it doesn't work right.
It's being run from a script ( http://pastebin.com/ZyLwNF78 ), which
includes a sleep call. I've run the following:
<power off guest> ; sleep 3 ; <power on guest> ; sleep 4 ; ./vb_install
So, there is, at a minimum of 7 seconds where the keyboard is not
being touched (and closer to 30-45 seconds while the guest machines
powers down and up).
--
Alan Young
I wonder if it's specific to virtualbox ... I haven't tried to
actually just run it in a terminal window ... something to try later.
--
Alan Young