Hi all,
I've been an Alfred user for quite some time, but never a power user. I've recently started taking Alfred more seriously as a productivity tool, and I came across a script by @senhortavares, that retrieves a title, a URL from the web, and downloads it as markdown, creating an Obsidian file. The start of the workflow starts like this with Safari, and it works flawlessly. Then, there's a curl, an html2text step, and finally everything put down in a file.
tell application "Safari" to set currentURL to the url of the front document
tell application "Safari" to set t