Another hook status question!

Hello,

I started using Hookmark a few days ago and I really like it so far! I feel like the overall UI/UX and performance of the App could be improved but I’m sure you’re probably working on that…

I wanted to know if you could explicitly document how reliable is the hooked status indicator of the menu bar icon. I feel like this is the biggest issue for me now as I struggle to remember if I have active hooks on what I am looking at. For example, I use drafts at lot and hookmark is a nice way to remove the clutter in my writing by moving links and references outside the apps, but not knowing if I have something hooked to it is a bit meh. I have to press ^H “often” to marvel at my self past who thought about linking something already.

Also, if there is a sort of API to interact with Hookmark, I could write my own code (using Hammerspoon or any menu bar notification system) to update my own status indicator periodically for some apps.

Thanks!

Fun fact: I wrote something that was somehow resembling to Hookmark to translate text anywhere on the screen a long time ago (on windows machine) and we had a lot of (not always) fun with accessibility and how to get the text content of wherever the mouse cursor was. Getting urls for everything is the next level, even 20 years later!

1 Like

Welcome to the Hookmark Forum , @octplane . thanks for asking.

per that help page , if integration with an app uses AppleScript, then Hookmark can reliably get the number of links. If integration is UI-scripted, Hookmark can’t poll the app because that might interfere with the user’s usage of the app. Those apps are listed with an “:thinking:” on the linkable apps page. We haven’t gotten to x-callback-url apps yet.

yes, Hook does have an AppleScript dictionary.

Thanks! I’ll start playing with that :slight_smile:

Hi octplane. You could probably come up with something more powerful with AppleScript, but I use Keyboard Maestro to flag hooked drafts in Drafts. Basically I have global Hookmark copy and paste keyboard commands, but in Drafts those same commands instead run a macro that sets the flag AND copies or pastes the hookmark. I don’t use flags for anything else in Drafts, so that’s my reliable “status indicator.” (It would be easy to use tags, too.)

I do exactly the same thing in OmniFocus, and personally I almost never hook to something other than an OmniFocus action or a draft, so that covers it for me.

1 Like

That’s exactly my issue as well! I would love a more prominent hook status indicator:

1 Like