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.
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:
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.
You can also use this in:
It’s pretty handy.
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.