Hacker News new | ask | show | jobs
by jarpineh 2729 days ago
Yes. I was just trying to learn Hammerspoon. This is more familiar language and has an IDE to boot.

7 days for trial isn’t that much for productivity app. Then again its only 8 dollars or so.

I wish there was repository or discussion forum for automation scripts.

Also, I would like to react to Mac notifications. That has been seemingly impossible to do...

1 comments

Forum for discussion is actually one of my highest priorities for this month! I'm not settled on whether to use something like Discourse, phpBB, a subreddit, a mailing list, a custom forum, or a GitHub repo with Issues enabled. This requires more thought, and maybe more discussion, but it was on the todo list since day one of writing Autumn.

I will look into reacting to Mac notifications, that sounds like it could be useful but I'm not sure I understand what it means. Could you elaborate?

Thank you for your response.

If the subject is interesting/useful I don’t believe forum software matters that much to us users. All those that you mentioned would work fine, I’d say.

Notification issues I have tried to solve with Bettertouchtool and Hammerspoon, but I havent been able to find notification API access in them. Though I don’t know if Apple provides such access to notifications. Use cases I have are reacting to Slack, iTerm, Mail and browser notifications as events. I’d like to access the notification content in plain text or object and then decide how to process it. Depending on message content, time of day, place, connected network &c I could put up rules on how to proceed. I could show notifications on touchbar or on screen in less distracting ways than what notification center allows. I could pool certain notifications and check them all in one place, such as bot messages from various slack channels.

Notifications seem easier way to get information moving between apps than trying to use their specific APIs (if such is even available). Sort of light weight RPC from apps to my custom tools.

That does sound very useful, yeah. I'll look into whether it can be done, but my gut feeling is that it can't. Typically apps can only respond to their own generated Apple notifications, not those generated from other apps.