Thanks. That was useful. Looks like the answer is to use CGEventCreateMouseEvent. The following stackoverflow question might be of interest to some: http://stackoverflow.com/questions/1483657/performing-a-double-click-using-cgeventcreatemouseevent
> Whether it matters or not depends on the circumstances and requirements. > > In case of making a complete remote-control application, there are some > issues (at least on 10.5, don't know whether anything changed on 10.6). > > See this thread on quartz-dev: > > http://lists.apple.com/archives/quartz-dev/2010/May/msg00050.html > > > izidor > > > > On 24.1.2011, at 16:52, Eric Gorr wrote: > > > It's straightforward to create a mouse event using NSEvent's > > mouseEventWithType method. The only question I have is what should I be > > passing in for the eventNumber parameter? 0? 1? some other number? Does it > > matter? _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com