xdotool: simulating keyboard input

Publié le: 15 octobre 2013
sur la chaîne: Archived Yu-Jie Lin
15,078
27

xdotool can simulate inputs like keyboard or mouse, including pressing down and release, mouse cursor position. Also some window control functions.

In this video, I only showed very basic keyboard simulation, typing in a string, or pressing down a modifier key. There are more you can do with xdotool, see xdotool(1).

Example commands:

xdotool type string
xdotool key alt+Tab ctrl+alt+f 1 2 3 a b Return alt+F4
xdotool key --delay 100 f o o b a r # delay 100ms
xdotool keydown space # spamming space key

xdotool version 2.20110530.1


Sur cette page du site, vous pouvez voir la vidéo en ligne xdotool: simulating keyboard input durée online en bonne qualité , qui a été Téléchargé par l'utilisateur Archived Yu-Jie Lin 15 octobre 2013, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 15,078 fois et il a aimé 27 téléspectateurs. Bon visionnage!