Mastodon

Notes under "AppleScript"

Get the active window with AppleScript

Get the bundle identifier of an application in a shell script in macOS