I use Macs since ~2008. I work as a professional programmer since ~2011. Since then I wasn’t able to use AppleScript (and recently Shortcuts.app) to automate my Mac. I don’t know whether this is due to me being stupid or because AppleScript and Shortcut syntax are really strange.