Programatically get screen coordinates of selected element in Finder for Python or Swift

Viewed 16

I am trying to create a tool that will allow to do right click on Finder items while navigating with the keyboard.

The problem that I am having right now is finding a way to programatically find where the element that is selected is located on the screen. I would like to get the coordinates or any other way to know the position in the screen either on Python or Swift.

0 Answers
Related