Re: Send Key Event to Focused Window
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