>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 protected]> wrote:
>Check out CGPostKeyboardEvent.
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to