News for hackers. Stuff that matters.
Re:AppleScript: Graphic User Interface (GUI) Scripting by Sirened on Tuesday September 06, 2022 @01:07PM (#32739991)
Apple Script is a weird but cool feature. There's also another thing called "Remote Apple Events" which essentially lets you use Apple Script over the internet via some weird RPC system. It's super bizarre and I have yet to find a legitimate use for it but it works nonetheless.
Re:AppleScript: Graphic User Interface (GUI) Scripting by kalleboo on Tuesday September 06, 2022 @01:23PM (#32740179)
Remote Apple Events were super useful back in the classic Mac days - it used it for instance to dial up or hang up the 56k modem on the Mac that was acting as our router. It also made it super easy to write networked games in HyperCard.

I guess it lives on since enough people have some vital QuarkXPress workflow they can't abandon...

Re:AppleScript: Graphic User Interface (GUI) Scripting by cmg on Tuesday September 06, 2022 @02:17PM (#32740945)
Remote Apple Events are pretty fantastic. Back in 2002/2003, I wrote an AppleScript Studio application (with a little bit of Objective-C) that let you control iTunes on another machine.

It seemed like absolute magic at the time to me and my friends - from my PowerBook on the couch, we could change the song playing on the iMac on the other side of the room! Wish I still had that source code to look at.

Re:AppleScript: Graphic User Interface (GUI) Scripting by oneplane on Tuesday September 06, 2022 @03:37PM (#32742163)
If I'm not mistaken, that is still used in some parts of the pre-Home Sharing remote Library and remote playback functionality in iTunes (pre-Music.. man, that's a lot of prerequisites).

Remote events even worked across AppleTalk and TCP/IP, across macOS and Mac OS Classic, so you could make use of some of the features between computers on different networks, with 10+ years difference in software, and it would still 'magically' work.

After RAOP and mDNS etc. the event system was less used and most of the newer features are implemented as classic client-server applications. But it still exists, and still works. Apple Events are even advertised over Bonjour!