• 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: Dispatch NSEvent to everyone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dispatch NSEvent to everyone


  • Subject: Re: Dispatch NSEvent to everyone
  • From: Matthew Williamson <email@hidden>
  • Date: Fri, 18 Jul 2008 12:15:05 -0600

Ok, looking more at the Quartz event tap stuff, there's more there than I thought--tablet stuff is there, for instance. But really, I still have the same problem, because I don't want to use the Carbon APIs (if I want my app to be 64-bit, I can't use any Carbon anyway, right?).

I just thought that there had to be a way to do this in Cocoa...but everything I've seen seems to point back to using the Carbon APIs.

My basic question is still this: Can I pass an NSEvent to some top- level responder that will pass it on to the appropriate application (based on window locations, etc.), or to Dashboard, or Expose, or whatever needs to handle the recieved event? Without using any Carbon APIs? Again, this is in the context of remote control, ui automation, etc.

-Matt


On Jul 18, 2008, at 10:06 AM, Shawn Erickson wrote:

On Fri, Jul 18, 2008 at 8:55 AM, Matthew Williamson <email@hidden> wrote:

but I need to be able to send Cocoa events into the system--meaning CGPostMouseEvent won't cut it.

All the code examples I can find seem to use CGPostMouseEvent to accomplish this kind of thing. But I need to be able to do more kinds of events than the Carbon API provides functions for.

What do you mean by the above?

-Shawn

_______________________________________________

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: Dispatch NSEvent to everyone
      • From: Nick Zitzmann <email@hidden>
    • Re: Dispatch NSEvent to everyone
      • From: "Shawn Erickson" <email@hidden>
    • Re: Dispatch NSEvent to everyone
      • From: glenn andreas <email@hidden>
References: 
 >Dispatch NSEvent to everyone (From: Matthew Williamson <email@hidden>)
 >Re: Dispatch NSEvent to everyone (From: "Shawn Erickson" <email@hidden>)

  • Prev by Date: Re: Image name for drag and drop from Safari
  • Next by Date: assertion failure in AppKit
  • Previous by thread: Re: Dispatch NSEvent to everyone
  • Next by thread: Re: Dispatch NSEvent to everyone
  • Index(es):
    • Date
    • Thread