You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm newbie at using xdotool and I was trying to do the following in my Centos 6.5, xdotool (xdotool-2.20110530.1-7.el6.x86_64), kernel 2.6.32, xorg-x11-server-Xorg-1.13.0-23.1.el6.centos.x86_64:
I opened a PuTTY terminal and execute an xterm to open a new terminal xterm &
Then I get the ID of this new terminal with xdotool search --name "myterminal"
Finally I execute xdotool key --window "ID" 2 to send a 2 to the terminal but nothing happens.
I checked also the ID of the terminal with xwinfo
I used it with windowfocus and windowsactivate, but I'd like to avoid it if possible. Also, is there any possibility of speeding the process, everytime that I send an keystroke, the execution of the command xdotool key 2 line is quite slow for my purposes.
I want to open as several terminals and then send them a chain of keystroke as fast as possible with some delay between keystrokes.
I also have another issue, having my little script xdotool
!/usr/bin/xdotool
windowfocus $1
type "Hi, how are you"
key 7
It doesn't press number 7 after typing Hi, how are you, it types Hi, how are youkey 7. How can I solve it?
Thank you very much, sorry but I'm a newbie!
The text was updated successfully, but these errors were encountered:
Hi!
I'm newbie at using xdotool and I was trying to do the following in my Centos 6.5, xdotool (xdotool-2.20110530.1-7.el6.x86_64), kernel 2.6.32, xorg-x11-server-Xorg-1.13.0-23.1.el6.centos.x86_64:
I opened a PuTTY terminal and execute an xterm to open a new terminal
xterm &
Then I get the ID of this new terminal with
xdotool search --name "myterminal"
Finally I execute
xdotool key --window "ID" 2
to send a 2 to the terminal but nothing happens.I checked also the ID of the terminal with
xwinfo
I used it with windowfocus and windowsactivate, but I'd like to avoid it if possible. Also, is there any possibility of speeding the process, everytime that I send an keystroke, the execution of the command
xdotool key 2
line is quite slow for my purposes.I want to open as several terminals and then send them a chain of keystroke as fast as possible with some delay between keystrokes.
I also have another issue, having my little script xdotool
!/usr/bin/xdotool
windowfocus $1
type "Hi, how are you"
key 7
It doesn't press number 7 after typing
Hi, how are you
, it typesHi, how are youkey 7
. How can I solve it?Thank you very much, sorry but I'm a newbie!
The text was updated successfully, but these errors were encountered: