"Display Random Note" AppleScript not working as intended

I just remembered something that I believe is unrelated to the unexpected behavior of the script in question, but I’ll post it here just in case: I’m running macOS Sonoma version 14.0(23A339).

The reason that I believe it’s unrelated is that when the script was working as intended a few days ago, I was already running the same version of macOS Sonoma. Though I guess you can never be sure when it comes to betas.

Here’s a timeline to make things clearer:

  • Sept 18th: I installed the public beta of Sonoma for the first time
  • Sept 20th: I posted this forum thread, where @BLUEFROG informed me of the existence of the “Display Random Note” script, and I tested that it worked perfectly both for regular groups and local smart groups
  • Sept 22th, today: I found out the “Display Random Note” script was not working as intended for me