• 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: How to get mouse moved events?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get mouse moved events?


  • Subject: Re: How to get mouse moved events?
  • From: Public Look <email@hidden>
  • Date: Fri, 23 Jan 2004 22:33:32 -0500

I am just curious. This forum has seen this exact question go by several times. In all my long career, I have never wanted to steal mouse events form other applications or even "monitor" them What are (seemingly) so many people trying to do when they ask this question ? What kind of application eavesdrops on other applications ? Are we talking about automation tools like automated GUI testers ? Are we talking about simulating focus follows mouse ? Are we talking about tools to overcome a disability ? What's up ?


On Jan 23, 2004, at 5:17 PM, Brant Sears wrote:

Is there a way to get signaled for mouse moved events when my app is not in
front? I've tried creating very high level, full screen clear windows. For
example, at the shielding level, screen saver level, etc. However, once I
click on the desktop, I stop getting mouse move events. I've tried
overriding methods like resignFirstResponder so that it always returns NO,
and overriding resignMainWindow, resignKeyWindow so that they doesn't do
anything (i.e. preventing the built in routines from being called). Doing
this has had no effect on the behavior of the window with regards to giving
me the mouse move events.

Do I need to inject my window into some other process (like some system
process?). (If so, any idea how?) Or possible write the window into some
kind of daemon that gets loaded at login time and then use IPC to signal my
app when a mouse move happens. Again, if so, how does one go about doing
that? Or would it be easier to try to get this information through IOKit?

Any ideas?

Brant Sears
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: How to get mouse moved events?
      • From: Henry McGilton <email@hidden>
References: 
 >How to get mouse moved events? (From: Brant Sears <email@hidden>)

  • Prev by Date: Any new/updated Cocoa books soon?
  • Next by Date: Scaling Custom Toolbar Items
  • Previous by thread: How to get mouse moved events?
  • Next by thread: Re: How to get mouse moved events?
  • Index(es):
    • Date
    • Thread