As part of a existing (Java) project we need assistance developing a small piece of native OS X code to identify the (currently) active / front window and related information of an OS X based computer.
We require an OSX Cocoa program / library or suitable equivalent that can be called by the Java utility to provide the required information (the window name, the parent application and if possible the associated file / file path or URL) in a suitable format.
More details are provided in the brief (Active Window Brief [login to view URL]) and (FYI) the associated Java utility brief (PCACT brief [login to view URL])
** This has been logged as an iPhone project to try and get access to cocoa / objective c programmers but it is for desktop / laptop (full OS X) machines **