Also https://github.com/steipete/imsg/

Oh no. Raw AppleScript in a Swift program. Don’t people know stuff anymore? I’m especially disappointed since it’s coming from Steipete…

Anyways, that’s how you do AppleScript in Swift (it’s even type-safe!) [1]

Usage example. [2]

[1] https://github.com/Frizlab/apple-music-to-slack/blob/90964bb...

[2] https://github.com/Frizlab/apple-music-to-slack/blob/90964bb...

> Don't people know stuff anymore?

No, no one has ever known anything, and every day people are born knowing even less. This is a strangely aggressive way to share this interesting information, especially for MacOS programming, a platform requiring such byzantine arcane knowledge I'm amazed people write anything for it at all. At least for Win32 people wrote books you could buy and not blog posts.

Anyway, thank you for the introduction to the very cool SwiftScripting project [0], extracting programmable interfaces directly from app bundles. It's just like COM, right? nice to see MacOS catching up (/ragebait)

[0] https://majestysoftware.wordpress.com/2015/03/31/swift-scrip...