4 ms·
> Hook's file links are adaptive macOS file:// URLs are hard to obtain, and they are brittle (they break when you move the file.) Instead: popup Hook in Finder
by goldenkey 5y ago
> Hook's file links are adaptive
macOS file:// URLs are hard to obtain, and they are brittle (they break when you move the file.) Instead: popup Hook in Finder (or even while editing the file in an app), use Hook’s Copy Link (⌘C) and you’ll get a properly formatted link that works even if you move or rename the file.
> Hook’s file links are like Finder aliases, but more robust, well formatted (URL & name) and shareable!
Are you using hashes and then falling back to heuristics? How else could you track files between systems?
- deleted 5y ago[deleted]
- LucCogZest 5y agoSomething like that. For the remote case, currently the leaf node of filename on remote system needs to match initially. For `hook://file/` URLs outside the user's database (i.e., apart from the hooks) Hook defaults to revealing file in Finder rather than opening. That can be changed in General prefs (https://hookproductivity.com/help/preferences/general/ https://hookproductivity.com/help/preferences/general/ ) If there are multiple matches, they are shown. We tweak the algorithm from time to time.