electron-active-window icon indicating copy to clipboard operation
electron-active-window copied to clipboard

Comparison with `active-win` lib

Open davej opened this issue 2 years ago • 2 comments

Really appreciate your open source work @nullxx 🙏. This is a question rather than an issue.

I'm trying to understand why to consider this module over the active-win library? It seems more popular and supports some extra fields like browser URL. It's great that both exist but are there instances when this library makes more sense than active-win.

davej avatar Oct 19 '21 10:10 davej

@davej Hi. I have a note about it. Firstly, thanks @nullxx for this adapter. It's too easy to integrate. So, I had to write corporative time tracker and tried to fork and modify old opensourced version of timenaut, which using active-win. When I tried to run it on macOS I have an issue with privacy settings. Active-win always throw an error cause system won't share this settings with it regardless of changes. So I replaced active-win on it for getting window name and parent process pid and used process-list plugin to get information about parent process of window. It solved my issues. I reset OS privacy settings and reinstall new build. Now it works perfectly - macOS hasn't any questions about privacy. 🥳

WebKieth avatar Jul 24 '22 01:07 WebKieth

@WebKieth Super interesting. Thanks! Are you able to capture the URL of tabs?

davej avatar Aug 02 '22 12:08 davej