title: How to reach end of page with xdotool, how to page up and down
body: <p>How can I command a window to go to end of page with xdotool?</p>
  
  <ul>
  <li><p>"key End" seems to send and End keystroke, but nothing happens:
  xdotool selectwindow key End</p></li>
  <li><p>"click 5" scrolls down, but how to know if the page has reached the end?</p></li>
  </ul>
  
  <p>Also, the PageUp and PageDown keys doesn't seem to be accepted.</p>
  
  <p>run on Ubuntu 12.04</p>