title: Using Perl, Python, or Ruby, how to write a program to "click" on the screen at scheduled time?
body: <p>Using Perl, Python, or Ruby, can I write a program, probably calling Win32 API, to "click" on the screen at scheduled time, like every 1 hour?</p>
  
  <p><strong>Details:</strong>  </p>
  
  <p>This is for experimentation -- and can the clicking be effective on Flash content as well as any element on screen?  It can be nice if the program can record where on screen the click needs to happen, or at least draw a red dot on the screen to show where it is clicking on.  </p>
  
  <p>Can the click be targeted towards a window or is it only a general pixel on the screen?   What if some virus scanning program pops up covering up the place where the click should happen?  (although if the program clicks on the white space of a window first, then it can bring that window to the foreground first).</p>
  
  <p>By the way, can Grease Monkey or any Firefox add-on be used to do this too?</p>