OS X Dock API? Retrieve OS X active application's icon with badges and other modifications.

Posted by pokstad on Stack Overflow See other posts from Stack Overflow or by pokstad
Published on 2010-03-31T05:54:02Z Indexed on 2010/03/31 19:33 UTC
Read the original article Hit count: 218

Filed under:
|
|
|
|

Is there an API for retrieving the icons of the currently open apps on Mac OS X? I am trying to retrieve all the icons of the active applications along with any badges on top of the application (i.e. number of new messages in mail, or current download rate in Transmission). Is there some sort of Dock API?

The only mention of an OSX API for retrieving information about currently active applications I have been able to find is the Process Manager API, which does not mention the ability to poll the dock or retrieve icon data.

© Stack Overflow or respective owner

Related posts about mac

Related posts about osx