I want to move from working on a webpage to a folder on my desktop, or ideally, within a program, to maintain flow and avoid getting distracted.
How can I do that?
As an example, I made this GreaseMonkey script for WhatsApp. It edits the whatsApp page to add a button that copies a command to navigate to a folder related to that page. Unfortunately, the script keeps breaking as WhatsApp changes itās pages. Also, browser security prevents a direct flow to the filesystem now so it would also need an automate script watching the clipboard for that to work.
Thereās got to be a way for Hook to help me do this but I canāt seem to figure out how to do it.
Another thing I tried, was pasting a link to a folder directly into the chatbox like this:
For whatever design reason, messaging software is amongst the least linkable software. (cf. Manifesto for Ubiquitous Linking). In Apple Messages for instance you canāt get the URL of a message. And when you paste a RTF or HTML app link, Messages takes the name not the URL. The work around in Messages is to paste a Markdown link.
Safari (for instance) is fine with app links, but it depends on the web app. For instance, Discourse forum does not like app links. The work around is to copy the app link and paste it into Spotlight. Select, āC, spotlight-shortcut, paste, return. Not instant but gets you there.
For some data a work-around is to create proxy objects (or files) and link to them. Not ideal.
Once you have a URL in the clipboard, you can use Hookās Focus on Link in Clipboard to use Hookās functions with it.
Apply Custom Rules for:
Before predefined rules list
enable this ā> After predefined rules list
Add " hook://~hook:// " to Protocols and subdomains. Iām not sure if this is really necessary.
Now add a custom rule:
Name: hook
Pattern: hook:(.*)
URL: $&
Youāll now have hook:// links highlighted and clickable on every page.
To finally use WhatsApp as a CRM, you can send your customer your hook link and just ask them to ignore it with a ānote to selfā or annotate the page with another extension, perhaps?
Then when you want to refer to your customer notes, you just click that hook:// link in your WhatsApp conversation.
Edit:
You can also use this in:
your emails
forum posts
Itās pretty handy.
update 01-21-2022:
I found that it sometimes breaks the reply box in WhatsApp. Itās probably because it needs to stop after the final character in the hook:// link. Maybe (.*) needs to be edited to exclude a blank whitespace
You can link from say, ObsidianMD to a WhatsApp conversation with:
Where 01999ā¦ is the phone number you want to link to, with the ā+ā for the country extension removed.
You can also use the group invite feature to link to a group, but sadly youāll need to be group admin for that.
This significantly reduces interruptions in flow but itās not using Hook in this direction, sadly and without choosyosx.com , itāll just open in whatever your default browser is.
A general productivity note:
Note back to a note in Obsidian and then have a link to the folder. That central note is more useful.
Does anyone have a better implementation for this?
I want to send my coworker a HOOK:// link via whatsapp web and have her be able to click and open the link on a shared resource. She uses Chrome, unlike me.
Itās actually not much bother to copy the link, paste it into spotlight and find it that way, but it would be nice to have a single click operation.
edit:
I feel a bit stupid for not thinking of this, but you can just send them a .hook file!