• 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 Key Event to Focused Window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Send Key Event to Focused Window


  • Subject: Re: Send Key Event to Focused Window
  • From: Daniel <email@hidden>
  • Date: Wed, 18 Jun 2008 13:25:33 +0200

Thank you! I'll read through them.

Basically, I've noticed that the code I'm using works (as it sends the
right event), but it is sent to the wrong "receiver". That means I'm
sending it to my current application, instead I should be able to
click on a button (representing a key stroke) and sending the event
(e.g. Safari) to the right application.

Is there a way to build a focus-less application/window?

Thanks
Daniel

On Wed, Jun 18, 2008 at 9:48 AM, j o a r <email@hidden> wrote:
>
> On Jun 18, 2008, at 12:31 AM, Daniel wrote:
>
>> I'm developing a tool for assistive input and my question is how can I
>> send a key event (like a keyboard press event) to the current window
>> (whatever this one could be), for data input.
>
>
> Have you looked at the Quartz Event Services?
>
> <http://developer.apple.com/documentation/Carbon/Reference/QuartzEventServicesRef/Reference/reference.html>
>
> I assume that you've already familiarized yourself with the Accessibility
> APIs:
>
> <http://developer.apple.com/documentation/Cocoa/Conceptual/Accessibility/cocoaAXIntro/cocoaAXintro.html>
>
>
> j o a r
>
>
>
_______________________________________________

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 Key Event to Focused Window
      • From: Bill Cheeseman <email@hidden>
    • Re: Send Key Event to Focused Window
      • From: j o a r <email@hidden>
References: 
 >Send Key Event to Focused Window (From: Daniel <email@hidden>)
 >Re: Send Key Event to Focused Window (From: j o a r <email@hidden>)

  • Prev by Date: Displaying high PPI image at proper size
  • Next by Date: Running a daemon
  • Previous by thread: Re: Send Key Event to Focused Window
  • Next by thread: Re: Send Key Event to Focused Window
  • Index(es):
    • Date
    • Thread