• 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: Bill Cheeseman <email@hidden>
  • Date: Wed, 18 Jun 2008 11:57:56 -0400
  • Thread-topic: Send Key Event to Focused Window

on 2008-06-18 7:25 AM, Daniel at email@hidden wrote:

> I should be able to
> click on a button (representing a key stroke) and sending the event
> (e.g. Safari) to the right application.

As joar says, look at the Quartz Event Taps API and the Accessibility API.

To try out examples of applications that do what you're trying to do,
download:

1. The free 30-day trial version of PreFab UI Browser
<http://prefabsoftware/uibrowser/>; and

2. The free PreFab Event Taps Testbench
<http://prefabsoftware/eventtapstestbench/>.

They will give you a feel for what is involved in doing this sort of thing
across process boundaries.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
www.quecheesoftware.com

PreFab Software - www.prefabsoftware.com


_______________________________________________

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

References: 
 >Re: Send Key Event to Focused Window (From: Daniel <email@hidden>)

  • Prev by Date: Re: Getting all subclasses
  • Next by Date: Re: does NSTextField always use UTF8 encoding
  • Previous by thread: Re: Send Key Event to Focused Window
  • Next by thread: Two basic questions regarding UITableViewController and ObjC-2.0
  • Index(es):
    • Date
    • Thread