logoalt Hacker News

hirvi74yesterday at 1:27 AM1 replyview on HN

Just spitballing here, but I know notifications are stored in a sqlite3 database. You might be able to query the count based on application type and use that?


Replies

msephtonyesterday at 3:41 AM

Are they? I'm not so sure. If they are you could set a watcher on it to receive filesystem notifications when it changes.

I think you can get the info from LaunchServices using `lsappinfo` command.

show 1 reply