I just bought Hook as part of Winterfest 2019. I’m still grokking its value but an obvious thing it can do is send a URL from my browser to Things as a TODO. However, …
The new todo in Things ends up with the page title as the name. That’s okay but not ideal because page titles are often crappy, for example:
Cognitive Productivity with… by Luc P. Beaudoin [PDF/iPad/Kindle]
It would be neat if Hook could be set, for a given app, to prompt to edit the title.
Then again, although this is a page in a browser the URL doesn’t end up in the Things todo. You might argue that’s okay because Hook knows what the URL is. However, I use Things on Mac, iPad, and iPhone. If the todo at least had the URL it would be a lot more useful when I’m mobile.
Lastly, it would be nice to add an excerpt (maybe the 1st paragraph) from the page to the notes of the todo. Perhaps that’s overdoing it but I can see it being a useful reminder.
I’ve had a quick look at the scripts in Hook. I’m not really au fait with AppleScript although I can figure my way around it. I found another script using an $encoded_link
specifier which I used as:
set notes of new_todo to "$encoded_link"
This technically worked in that I got the page URL but I also got a load of random characters stuck on the end:
It’s not harmful in this case (I can load the page) but I’ve not seen this $$$
protocol before and I’m not sure it’s safe to encode any link in this way. I guessed using $link
instead of $encoded_link
but that didn’t seem to make a difference.
Is there another approach?
I’m guessing the excerpt may not be possible because there’s no way to ask for it from a random app.
Matt