AppleScript
AppleScript is a scripting language created by Apple for automation on the Mac. It’s very useful for certain tasks, but it’s not a good general-purpose programming language and it’s been untouched by Apple for years.
6 articles
Getting the path to the note I have open in Obsidian
Although Obsidian doesn’t support AppleScript, I can use System Events to find out which note I have open.
Snippets to manage albums in Photos.app
AppleScript only allows us to add photos to an album; dipping into Swift and PhotoKit lets us both add and remove photos.
Using AppleScript to detect if a Safari window uses Private Browsing
An AppleScript to toggle Voice Control
Making it slightly easier for me to enable and disable Voice Control quickly.
Using AppleScript to open a URL in Private Browsing in Safari
A quick Alfred workflow for opening recent screenshots