On coding, tech, privacy, AI and whatever else comes to this mind.

Thought the other day that it’d be nice to be able to control Longplay for the Mac through Alfred. Ended up embarking on a deep dive into adding AppleScript support to a modern Mac app. Felt a bit like going into a forgotten corner of a library and dedusting ancient books of wisdom.

I first looked into relying on modern Shortcuts / AppIntents support instead, but that’s its own walled garden in comparison. Beauty of the old Cocoa Scripting approach is that other apps can integrate it directly; you can trigger actions and get classes of your app willy-nilly from scripts through Terminal or whatever you want. In some way it’s a mirror of the openness of iOS versus macOS.