title: Python Simulate Keypress in Flash Application
body: <p>There is a form in a flash application that I would like to fill out automatically. I did a search, and found this:</p>
  
  <p><a href="https://stackoverflow.com/questions/136734/key-presses-in-python">Key Presses in Python</a></p>
  
  <p>That works fine for notepad and such, but how do I grab a flash object running in FireFox, simulate pressing characters, and also simulate pressing ENTER for moving to the next field?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Actually, do you even need to grab the flash object in the first place? Why not just simulate the keypresses directly?</p>
  
  <p>Anyways, if it helps any...</p>
  
  <p>Windows 7 Home Edition,
  Python 2.4</p>