title: On Mac OS X, how to create multi-touch event and send to another application?
body: <p>I want to "simulate" a multi-touch event for another application, e.g., simulate a zoom-in gesture on iPhoto. I searched many sources but can't find an answer for that.</p>
  
  <p>It seems the most common way to sending an event to other application is with script bridge, getting a SBApplication and then send an AppleEvent. But it seems the general gesture or multi touch events are not there for common applications.</p>
  
  <p>Also, there is no function like CGEventCreateMultiTouchEvent...(), thus I don't know if it's achievable by CGEventPost()</p>
  
  <p>The method NSApplication.sendEvent might be able send a NSEvent which has the multi touch type defined. But how could I get the NSApplication* of another application?</p>
  
  <p>Any help will be very appreciated :)</p>