Gordon’s Tech: Scripting Photos.app in Ventura (and maybe Sonoma) with AppleScript, Automator, and Shortcuts

Link. This is a stub article, but is already better than what I can find via Kagi or Google today. It’s for Ventura but will be updated to Sonoma in next few months.