When the mouse cursor moves from my application's window over any Finder window that may be open, how do I get in my application the current folder which is opened in that Finder window?
My application runs on both Windows and MacOS, but I have only found an answer on Stack Overflow for the Windows case, and don't know how to achieve this for Mac as well.