Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Super curious what you're doing with AppleScript + the browser. I definitely prefer Safari over Firefox. Haven't tried Orion yet but I'm super stoked there's another webkit browser.


One example is a script to quickly grab the URL of the current tab and send it to mpv¹ for playing or yt-dlp² for downloading. Or send some JavaScript to that same tab. Or grab the URLs and titles of all tabs in all windows that match a specific domain, close them, and then reopen them together in a brand new window (or save it to clipboard to send someone). Alfred³ has a ton of automations that allow you to do that without having to code it yourself.

¹ https://mpv.io

² https://github.com/yt-dlp/yt-dlp

³ https://www.alfredapp.com


> Or grab the URLs and titles of all tabs in all windows that match a specific domain, close them, and then reopen them together in a brand new window

That sounds pretty useful! any chance that script is on gist.github.com or elsewhere?


It’s all done with Alfred’s Automation Tasks.

https://www.alfredapp.com/help/workflows/automations/automat...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: