• 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 Keyboard Events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Send Keyboard Events (From: "Mr. Gecko" <email@hidden>)
 >Re: Send Keyboard Events (From: Dave Keck <email@hidden>)

  • Prev by Date: Re: Bluetooth serial examples
  • Next by Date: Hiding process list app icon for GUI apps
  • Previous by thread: Re: Send Keyboard Events
  • Next by thread: Re: Send Keyboard Events
  • Index(es):
    • Date
    • Thread