Elektrine lite

← Feed

@piger@mastodon.social

Post #2701662

2026-05-18 16:02 UTC

funny thing about Apple and AI: AppleScript is still a thing and allows you to do things such as: $ osascript -e 'tell app "Finder" to return the quoted form of the POSIX path of (target of window 1 as alias)' that script returns the path of the directory currently opened in Finder (provides it's a real directory and not a meta directory). To me this seems really close to the kind of interaction a user would want between a fictional AI agent and his/her computer.

Replies (1)

  • @jamesog@mastodon.social 2026-05-18 17:03

    @piger@mastodon.social AppleScript is really great. I used it a long long time ago, back when MacOS had the dashboard feature and I wrote a widget for it

    Open ##2928225