Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: discovering if a process is busy





I would investigate whether your synthesized key events are being properly posted. You can write an app to "listen" and log key press events (essentially, a key logger). Maybe you'll find that the problem is on your end. That would be a happy thing since you are at least in a position to fix it.

I'm pretty sure what I'm seeing is Pro Tools not handling the keys I send.
If I add pauses between key events I get the desired result so the key events themselves are fine.
it is also the case that the more work Pro Tools has to do between key events the more likely an error.


is there some way to get the kind of stats I see in Activity Monitor?
eg. CPU usage per process, memory usage per process.
I could theoretically take baseline readings for the "idle" app before I run my routine, then check the values before deciding if it's safe to send a key event.
pretty shonky but might be an option.


justin
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to 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>)
 >Re: discovering if a process is busy (From: Murat Konar <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.