Dock click event code

Avg Bid (AUD)
Project Budget (AUD)
$30 - $250

Project Description:
Hi, I need a simple working prototype app of the following concept.

As everyone knows, non UI-Agent OS X applications have an icon in the dockbar. I need to work out the screen coordinates and size of my running applications dock icon without using the accessibility API (which uses AXUIElementRef).

I've already had a look at NSDockTile but if you set a contentView it zeros the origin and gives a generic 128x128 size and not the actual dock zoom size. The closest solution I've found so far is using an AppDeligate "applicationShouldHandleReopen" to capture a generic [NSEvent mouseLocation], but this just gives a random point inside the dock icon where the user has clicked and not the actual origin or size.

The reason I want this information is to find the top centre of the icon so that a popup window can be "attached".

This technically might not be possible but if someone has a solution I will pay :)

Skills required:
Mac OS, Objective C
About the employer:
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.