How to remember something is hooked

Hello, I am using Hookmark extensively on my Mac. The problem I am facing is that I tend to forget what is hooked. Today, for example, I was adding a list of PDFs I intend to read in the future into a note in my Agenda app, and linked them to the PDF file located on my filesystem. To be sure I immediately known there is something hooked, I added “(hook)” at the end of the line in Agenda. I could have added a comment into finder and show its column, but my intention was to use my note in Agenda as main reference with links.

I understand my use of Hookmark is pretty basic (but I use it a lot into Devonthink pro), but I wonder whether there is a better way to remember something is hooked.

Thank you for contacting us, @Tech_in_IT

Will pin the agenda note help? Or tag it?

Thank you

1 Like

Thank you, actually tagging could be a good solution. I have created a specific tag and experimented with this. and it seems I can get away with it.

I think Hookmark needs to provide a marker, tag, or something in your content indicating there are hooks there.

Yeah that would be great, even something simple and manual like a button to copy an icon (or a text) to be easily pasted.

If you check the Hookmark icon in the menu bar, it will show the number of Hooks you have on the item you’ve currently selected.

I am not sure it’s working properly:

This is Agenda app with a highlighted note. There are three ebooks hooked but Hookmark icon on the menubar shows a question mark.

Works for me, so I guess its just being buggy for you. One of the devs might have something to add.

Sorry, it does not work for Agenda because Hookmark uses x-callback-url to get Agenda note URL.

For now menu bar icon can only show number of links for Apps that have AppleScript support

Sorry, I just checked Agenda’s AppleScript dictionary. It actually has AppleScript support now.

We have updated our script server, version 381. Could you please update your Hookmark script and see if the issue is fixed. (Hookmark preference window->Update->Check now)

You need restart Hookmark to see the change.

1 Like

I have just upgraded to Tahoe and now there’s nothing hooked up:(

Also, the icon number (it’s enabled) shows nothing at all, not even a question mark.

Tomorrow morning I will dig deeper on this, now I want to know if it’s only Agenda or everything

Sorry to hear this, @Tech_in_IT .

Can you hook an Agenda note to a new document?

Also please check the number of bookmarks in Bookmarks window and see the number is correct.

If not, it could be that the database is corrupted during macOS. Then we need restore from the backed-up database.

Hi Bchend, thank you for your help.

So….

yes, I can hook a new agenda note to a new document (and of course the other way around).

I have checked the number of bookmarks I have for that note and it is correct:

But if I click on the note (to highlight it) and hit control H, nothing is shown.

As per the item count on the menubar, for the moment I am struggling a lot with Bartender 6/Barbee/Ice. Both Bartender 6 and Barbee don’t show it (alongside with some other apps such as BTT and Antinote, to mention a few). And even if I quit all of them, to get Hookmark back I need to reboot my Mac. I suppose they all mess with whatever Apple made new in the menu bar management system… I am not sure.

But ok, there are more important things than the menu bar at the moment.

Ice works a little better and, after a reboot, is now able to show Hookmark and other apps in the menu bar. When nothing is selected the icon shows a question mark but if I open Agenda and select a note which has hooks, the plain icon is shown with no count (it’s enabled in the settings, of course).

Thank you for the info, @Tech_in_IT .

Could you please select Fonda Lee bookmark in Bookmarks window, do CTRL+H and see if you can see the links?

Then select Fonda Lee note in Agenda, do CTRL+H, do Copy Link and compare the url with the one in the library window? Are they the same?

Thank you

Yes, they look the same but on the “control H on the note” output there is a sort of suffix:

“&separate-window=false”

The URL returned from AppleScript contains this, but x-callback-url does not .

I removed this parameter from the URL return from AppleScript.

Could you please update your Hookmark script and see if the issue is fixed. (Hookmark preference window->Update->Check now) . Script version 382.

hmmm, no change unfortunately:

But I have added another hook (well, a new one) and now the icon works fine:

and in bookmarks I can see:

So, the new hook either overwrote the old one or was just ignored as another one (identical) was present. Basically, given the menubar counter is working (will do further testing tomorrow), it seems that Hookmark on Tahoe (and on my Mac) can’t retrieve the hooks I have recorded before the upgrade.

PS: I am on 382

Sorry, I didn’t notice that the URL returned by AppleScript and x-callback-url is completely different.

agenda://note/2749C833-BE4F-40C7-BA6F-5B5CFA388D04 (returned by x-callback-url)

agenda://x-callback-url/open-note?identifier=2749C833-BE4F-40C7-BA6F-5B5CFA388D04&separate-window=false (return by AppleScript).

That’s why you can’t see the hooks you created before.

I have reversed the change on our script server. The version is 383. Please update your script so you can see all your. The hooks you created using the latest script will not show.

For now, the menu bar count will not work for Agenda.

We will look into this.

Thank you, and sorry for the inconvenience.

YES!, they’re back :slight_smile:

I am not sure this can help (don’t think so but you never know…), in Devonthink the counter works perfectly:

Let me thank you so much for your help, I hope you can fix the counter in Agenda but for the moment having my (so many) hooks back in Agenda is going to save hours of work to re-hook them all.