Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #Very Crude Kindle ebook ripper
- #xautomation package required.
- while [ 1 ]
- do
- sleep 2
- xte "keydown Control_L" "keydown P" "keyup P" "keyup Control_L"
- sleep 2
- xte 'key Return'
- sleep 2
- xte "str $(date +%s)"
- xte 'key Return'
- sleep 2
- xte 'mouseclick 1'
- echo "Next Page"
- xte "key Page_Down"
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement