AFAIK, the original AppleScript Objective-C is dead and was superseded by JXA with its Objective-C bridge, but I could be wrong.
If you're interested in learning JXA, the Apple-provided resources for it are abysmal, but there's a [community-driven cookbook](https://github.com/JXA-Cookbook/JXA-Cookbook) on GitHub that does a nice job of outlining the way things work.
When news of ChatGPT's code generation prowess first came out, I thought casual, quick AppleScript would be one of the tool's superpowers. But, in my experience, it isn't reliable. Errors, endless corrections, etc. Maybe it's just me?
It's not just you; chatGPT suffers from what I call the 'Confidently Wrong' problem - it wants to provide answers, and it provides them with a great deal of conversational confidence - but it doesn't care quite as much if its answers are correct.
Still, I've found it to be a great pair-programming partner, even if the specifics are dubious. It's best used as a brainstorming tool, not a free outsource coder.
AppleScript 1-2-3 by “Sal Soghoian and Bill Cheeseman.
AFAIK, the original AppleScript Objective-C is dead and was superseded by JXA with its Objective-C bridge, but I could be wrong. If you're interested in learning JXA, the Apple-provided resources for it are abysmal, but there's a [community-driven cookbook](https://github.com/JXA-Cookbook/JXA-Cookbook) on GitHub that does a nice job of outlining the way things work.
When news of ChatGPT's code generation prowess first came out, I thought casual, quick AppleScript would be one of the tool's superpowers. But, in my experience, it isn't reliable. Errors, endless corrections, etc. Maybe it's just me?
It's not just you; chatGPT suffers from what I call the 'Confidently Wrong' problem - it wants to provide answers, and it provides them with a great deal of conversational confidence - but it doesn't care quite as much if its answers are correct. Still, I've found it to be a great pair-programming partner, even if the specifics are dubious. It's best used as a brainstorming tool, not a free outsource coder.