• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Send click to window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Send click to window


  • Subject: Re: Send click to window
  • From: Benjamin Mollenhauer <email@hidden>
  • Date: Thu, 9 Apr 2009 12:50:06 +0200

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:?

Thanks for your quick answer. Maybe I was not specific enough: I want to control windows from foreign applications. Hence i tired it with the Accessibility API.

Benjamin
_______________________________________________

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


  • Follow-Ups:
    • Re: Send click to window
      • From: Kyle Sluder <email@hidden>
References: 
 >Send click to window (From: Benjamin Mollenhauer <email@hidden>)
 >Re: Send click to window (From: "Luca C." <email@hidden>)

  • Prev by Date: Re: removeFromSuperview and mouse events
  • Next by Date: Re: Send click to window
  • Previous by thread: Re: Send click to window
  • Next by thread: Re: Send click to window
  • Index(es):
    • Date
    • Thread