Copy the base name of a file in Obsidian
Obsidian has a command to copy the relative path of a note (Copy file path) in the command palette. But I was in search of a way to only copy the base name, the file name without the extension.
Copy Link to Currently selected Message in Mail
Why we cannot have this feature built into the Apple Mail application, I don’t understand. But here is a simple AppleScript to copy the link to the currently selected email message into your clipboard: