Hi and sorry about posting this in Issues.
Thank you for sharing this script! It works when I run it with the Script Editor, but when I run it in Alfred using a hotkey, it doesn't do anything... Since you seem to also be using Alfred, I thought I'd ask how you get it to work?
Cheers!