x11xdotool

How to reach end of page with xdotool, how to page up and down


How can I command a window to go to end of page with xdotool?

Also, the PageUp and PageDown keys doesn't seem to be accepted.

run on Ubuntu 12.04


Solution

  • xdotool is finicky about page up and page down. It doesn't recognize 'PgUp' or 'PageUp' or 'Page-Up'. What seems to work:

    xdotool key Page_Up
    

    and

    xdotool key Page_Down