Hacker News new | ask | show | jobs
by skepticATX 1040 days ago
I Googled "applescript loop through apple notes" and this was the first result: https://apple.stackexchange.com/questions/225938/notes-scrip.... Looks exactly like what ChatGPT came up with for you minus the dialog.

I then Googled "applescript print to console" and got this: https://stackoverflow.com/questions/13653358/how-to-log-obje... ; admittedly this answer took a few minutes to read through, but the second most upvoted answer recommended using log, which your ChatGPT-developed solution (eventually) used.

This all took me < 5 minutes.

1 comments

Yeah, those StackOverflow posts are the perfect illustration of why I find ChatGPT so much useful for this kind of thing.

Compare them to my original transcript. They don't provide me with enough information: how do I actually run that code?

I got ChatGPT to split me out a zsh script, which caused it to show me how to use "osascript -e ".