Re: Send Keyboard Events
Re: Send Keyboard Events
- Subject: Re: Send Keyboard Events
- From: Dave DeLong <email@hidden>
- Date: Thu, 28 May 2009 14:48:47 -0600
>From the docs:
"This function is not recommended for general use because of undocumented special cases and undesirable side effects. The recommended replacement for this function is CGEventCreateKeyboardEvent, which allows you to create a keyboard event and customize the event before posting it to the event system."
Once you create the CGEvent, you can then post it using CGEventPost or CGEventPostToPSN.
Cheers,
Dave
On Thursday, May 28, 2009, at 02:27PM, "Dave Keck" <email@hidden> wrote:
>Check out CGPostKeyboardEvent.
_______________________________________________
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