> IMessageKit requires Full Disk Access to read your chat history and perform automation tasks.
> System Settings → Privacy & Security → Full Disk Access
This basically neuters it for any wide product use. Fine for personal projects, but this is never going to fly for anything more than power user tools.
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)
> IMessageKit requires Full Disk Access to read your chat history and perform automation tasks. > System Settings → Privacy & Security → Full Disk Access
This basically neuters it for any wide product use. Fine for personal projects, but this is never going to fly for anything more than power user tools.
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...
I have no interest in the original application[1] that this underpins but I am very interested in an imessage API ...
Unfortunately this runs only on a MacOS system which is hard to provision as long-running datacenter infra ...
[1] https://news.ycombinator.com/item?id=46571661