|
Revision 1087, 1.1 kB
(checked in by dkg, 7 months ago)
|
|
xdotool: packaged version 20080603
|
| Line | |
|---|
| 1 | |
|---|
| 2 | xdo: Fake input from the mouse and keyboard very easily |
|---|
| 3 | |
|---|
| 4 | ### See the website for more up-to-date documentation |
|---|
| 5 | # http://www.semicomplete.com/projects/xdotool/ |
|---|
| 6 | # |
|---|
| 7 | # Also see the manpage, which you can generate by running: |
|---|
| 8 | # make xdotool.1 |
|---|
| 9 | |
|---|
| 10 | Compile: make xdotool |
|---|
| 11 | Run: ./xdotool <cmd> <args> |
|---|
| 12 | Use: The following commands are available: |
|---|
| 13 | key "key1" ["key2" ... "keyN"] |
|---|
| 14 | + Example: ./xdotool key "ctrl+l" "BackSpace" |
|---|
| 15 | mousemove xcoord ycoord |
|---|
| 16 | + Example: ./xdotool mousemove 500 1000 |
|---|
| 17 | mouseup <button> |
|---|
| 18 | mousedown <button> |
|---|
| 19 | click <button> |
|---|
| 20 | + Example: ./xdotool click 1 (click left button) |
|---|
| 21 | type "string to type" |
|---|
| 22 | + Example: ./xdotool type "hello there" |
|---|
| 23 | |
|---|
| 24 | windowmove <windowid> <x> <y> |
|---|
| 25 | windowsize <windowid> <width> <height> |
|---|
| 26 | windowfocus <windowid> |
|---|
| 27 | + This will call XSetInputFocus. It will only work if the |
|---|
| 28 | window is currently on the screen (ie; not on another desktop or |
|---|
| 29 | minimized) |
|---|
| 30 | |
|---|
| 31 | search <regexp> |
|---|
| 32 | + This outputs a list of window ids matching the given regexp. |
|---|
| 33 | Matches test: window title, window name, window class |
|---|
| 34 | See 'xwininfo' output for what each of these are/mean. |
|---|
| 35 | |
|---|
| 36 | $Id: README 1892 2008-06-03 09:04:59Z jordansissel $ |
|---|