2009/4/9 Benjamin Mollenhauer <benjaminmollenha...@googlemail.com>

> Hi!
>
> Is it possible to send a simulated mouse click to a specific window,
> overlapped by others?


Benjamin - Have you tried creating your custom NSEvent objects and passing
them to NSApplication's -sendEvent:?

 NSEvent class reference
<
http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/nsevent_Class/Reference/Reference.html
>

 NSApplication sendEvent:
<
http://developer.apple.com/DOCUMENTATION/Cocoa/Reference/ApplicationKit/Classes/NSApplication_Class/Reference/Reference.html#//apple_ref/occ/instm/NSApplication/sendEvent
:>



--Luca C.
_______________________________________________

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

Reply via email to