dimusic / active-window-macos-example

Basic example of the MacOS app that gets currently active window in a loop
1 stars 0 forks source link

A small example of an MacOS app that prints currently active window in a loop once every second.

It just starts NSApplication and subscribes to the NSWorkspaceDidActivateApplicationNotification to receive updates.