How to find active application in macOS
Issue #608
An NSRunningApplication instance for the current application.
1 | NSRunningApplication.current |
The running app instance for the app that receives key events.
1 | NSWorkspace.shared.frontmostApplication |