2013-01-03 66 views
6

有誰知道自動化的xdotool腳本生成器嗎?理想情況下,我想在桌面上記錄一系列操作,並將其自動生成爲xdotool腳本,而不是手動添加暫停和計算像素等。xdotool記錄器

回答

5

我不能肯定地說不知道更多關於你想要做什麼,但我想你可能想用xmacro來代替。這是一個很好的教程在這裏: http://linuxpoison.blogspot.in/2012/03/record-play-keystrokes-and-mouse.html

這裏有一個總結:

# Start recording macro. 
xmacrorec2 > macro.txt 
# Select a keystroke to end the macro. 
# Do stuff. 
# End the macro with the previously chosen keystroke. 

並運行宏:

xmacroplay $DISPLAY < macro.txt 

的博客文章指出,時序信息不被記錄。

+0

//,你願意包含教程的快速段落摘要嗎?項目符號? –

+1

當然,我剛剛做到了。 – bariumbitmap