1

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.

Adrian Mole
  • 49,934
  • 160
  • 51
  • 83
Display Name
  • 2,323
  • 1
  • 26
  • 45
  • AppleScript will talk to the Finder, but I'm not sure how you're going to identify the right window. Down / close votes a little mean, IMO. – Paul Sanders Jul 08 '22 at 22:30
  • I added more detail. Please vote to reopen. Equivalent questions exist for the Windows case and were answered instead of closed, so this is more than just a little mean. – Display Name Jul 12 '22 at 07:32
  • This seems to do similar if not identical? https://stackoverflow.com/questions/14551419/listing-all-windows-of-all-applications#14552852 – James Risner Sep 14 '22 at 12:36

0 Answers0