Sending events to other applications

  • I'm sure this *has* to be faq (so I apologize in advance) but I can't
    seem to find anything other than what I describe below.

    I would like to "drive/control" an app that I didn't write, e.g. send
    mouse events, keyboard events, etc.

    I've found CGPostMouseEvent(), CGPostKeyboardEvent(), et. al., but I
    was wondering if these was a more straightforward way to accomplish
    the task?
    And pretty-please don't recommend AppleScript...

    BTW, this app is for my own personal use - I'm not trying to do
    anything evil here. :)

    Thanks,
    CxT
previous month november 2007 next month
MTWTFSS
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
Go to today