Hi all
I've got two (hopefully simple) questions:
1. How can an app listen for events (ie. certain keypress combinations, mouse movement) if it is not the "foremost" app?
2. Is there a way to determine the co-ordinates of the mouse cursor when the user clicks on your app's icon in the Dock? Preferably, the co-ordinates would be relative to the icon itself as opposed to the entire screen.