title: Unable to select text using pyautogui
body: <p>I want to select some text on the screen. I figured using pyautogui would be the way to go. I did the following:</p>
  
  <pre><code>keyDown('shift')
  sleep(0.1)
  press('end')
  sleep(0.1)
  keyUp('shift')
  </code></pre>
  
  <p>When doing this exact combination by hand it does select the text I want it to. Of course the sleep function is from the time module.</p>
  
  <p>I even tried to select text in word using the following:</p>
  
  <pre><code>keyDown('shift')
  press('right')
  press('right')
  keyUp('shift')
  </code></pre>
  
  <p>And even this didn't work...
  Does anyone know why? </p>
  
  <p>Thanks in advance!</p>