• 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: discovering if a process is busy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: discovering if a process is busy


  • Subject: Re: discovering if a process is busy
  • From: "Shawn Erickson" <email@hidden>
  • Date: Wed, 19 Dec 2007 19:00:37 -0800

On Dec 19, 2007 4:16 PM, justin webster <email@hidden> wrote:
> >  it sounds like a poorly written app. What app is it?
> well you're right there. it's a bit of a mess.
> Pro Tools.
>
> Perhaps I've mis-diagnosed the problem it. it certainly seems like
> one or two key events get missed while the app is busy reading stuff
> into memory.
> I am using CGPostKeyboardEvent.
> is there a better way of achieving this with a different API?

You should use an CGEventCreateKeyboardEvent and post it using
CGEventPost or in this case likely CGEventPostToPSN.

<http://developer.apple.com/documentation/Carbon/Reference/QuartzEventServicesRef/Reference/reference.html>

-Shawn
_______________________________________________

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

  • Follow-Ups:
    • Re: discovering if a process is busy
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >discovering if a process is busy (From: justin webster <email@hidden>)
 >Re: discovering if a process is busy (From: "Shawn Erickson" <email@hidden>)
 >Re: discovering if a process is busy (From: John Stiles <email@hidden>)
 >Re: discovering if a process is busy (From: "Shawn Erickson" <email@hidden>)
 >Re: discovering if a process is busy (From: justin webster <email@hidden>)
 >Re: discovering if a process is busy (From: Murat Konar <email@hidden>)
 >Re: discovering if a process is busy (From: justin webster <email@hidden>)

  • Prev by Date: Re: Need help wrapping my head around bindings
  • Next by Date: Re: Edit textView with IB
  • Previous by thread: Re: discovering if a process is busy
  • Next by thread: Re: discovering if a process is busy
  • Index(es):
    • Date
    • Thread