Tags » applescript
TIL: How to get the selected item in Finder using AppleScript
TIL: Get and manipulate the contents of a page in Safari with
"do JavaScript"
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.
Getting a Markdown link to a window in Safari
Using AppleScript to open a URL in Private Browsing in Safari
Converting Acorn images on the command-line
I wrote some AppleScript to help me do batch conversion of Acorn images into formats like PNG and JPEG.
A quick Alfred workflow for opening recent screenshots