AI AppleScript Expert GPT

So far, AI has been struggling with AppleScript, but ChatGPT now has a dedicated AppleScript GPT, which may generate more reliable AppleScripts (and may not).

I will point the AppleScript GPT here for ChatGPT users’s questions.

If you are opposed to AI or don’t want to see that traffic, please ignore!

It will do. There’s relatively little by way of AppleScript code available on the internet, and the majority of what is available averages poor quality.

This is to be expected. New AppleScripts appear on the internet almost exclusively in the context of someone asking for assistance on how to get their non-working code to work.

By contrast, other scripting or programming languages (e.g. shell script, Python, C, JavaScript, … heck, even Brainfuck) not only have orders of magnitude more users—and, thus, much more code available online—but they’re also incredibly well-established in both professional and learner spheres, the former having had plenty of time to contribute language libraries, in-depth tutorials, and high-quality, workable samples of code.

For this reason, I think the only way to have an LLM capable of producing reliable AppleScript code is to specifically train a custom model.

AI struggles with those and Swift as well. It seems it’s fine at overall design, but not so good at debugging.

This is an intermediate step. It provides specific instructions and feedback for the system to react to.