Re: Send click to window
Re: Send click to window
- Subject: Re: Send click to window
- From: "Luca C." <email@hidden>
- Date: Thu, 9 Apr 2009 12:35:55 +0200
2009/4/9 Benjamin Mollenhauer <email@hidden>
> 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 (email@hidden)
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:
This email sent to email@hidden