It is often very useful to link tasks with the resources that they involve, so that you can instantly navigate between them. For instance,
If you are writing a new document, you might want to link your tasks about it to the document itself.
If you are doing software development, you might want to link a folder in Git and/or your local drive to your development tasks.
You might also want to link tasks to issues and bug tracking systems (e.g., Bugzilla, Trello).
That way, you can immediately navigate from the resource to your next task pertaining to it, or vice versa.
The possibilities are endless.
We hope 2DO users will enjoy the integration. If you use 2Do with Hook, please feel free to spread the word about their interoperability .
Meanwhile, looking forward
We have been busy implementing substantial extensions to Hook requested by customers. We look forward to publishing them soon.
How to get the update
You don’t need to relaunch Hook to obtain integration updates. Hook’s software update / check automatically tries to install the latest integration scripts. Automatic updating can be enabled or disabled.
Sorry this one fell through the cracks here, and looks like no 2Do user picked up on it either. I have gotten in touch with a 2do user who asked for the integration, and we will have a look too. The 2do developer added support specifically for automated linking earlier this year.
@intermagic . I thought maybe it might be a language issue. So a dev here looked into German. It seems to her that the menu item labels do not change when language changes.But to be sure, could you let us know what language you tested in.
Hey LucB, thanks for your effort! Yes, might be a language based problem, it still doesn’t work but that’s not a big problem at the moment, no big deal!
Looks like they sell 2do in three places each with its own bundle ID: setapp, app store, paddle store. We have bundle ids for setapp and apps store, but don’t have one for paddle store. so if any 2do.Paddle user would like to share the bundle ID, we’ll add it (users can also do that themselves).
I have tried both list items and smart lists, it doesn’t work either way.
I got 2Do from the Mac app store. Below is the text you wanted (well, probably more than you wanted)
Could you please try selecting a task in 2do, and then pasting the following in /Applications/Utilities/Script Editor and hitting run? (that is Apple’s App)
try
set the clipboard to ""
tell application "2Do"
activate
end tell
delay 0.1
tell application "System Events" to tell process "2Do"
if enabled of menu item "Copy Shareable Link" of menu 1 of menu bar item "Task" of menu bar 1 then
click menu item "Copy Shareable Link" of menu 1 of menu bar item "Task" of menu bar 1
delay 0.1
repeat 10 times -- poll clipboard for ~2.5 seconds. Sometimes set x to teh clipboard throws exception
try
set myUrl to the clipboard
if myUrl is not equal to "" then
exit repeat
end if
end try
delay 0.1
end repeat
set the clipboard to ""
delay 0.1
click menu item "Copy" of menu 1 of menu bar item "Edit" of menu bar 1
delay 0.1
repeat 10 times -- poll clipboard for ~2.5 seconds
try
set myText to (the clipboard)
if myText is not equal to "" then
exit repeat
end if
end try
delay 0.1
end repeat
set n to count of paragraphs of myText
if n is equal to 0 then
set firstLine to myUrl
else
set firstLine to item 1 of paragraphs of myText
if firstLine starts with "- " then
set firstLine to text 3 thru -1 of firstLine
end if
set len to the length of firstLine
if (len > 256) then
set firstLine to text 1 thru 255 of firstLine
end if
end if
return "[" & firstLine & "](" & myUrl & ")"
end if
end tell
on error errMsg
display dialog errMsg
end try
I have just realised that I have the same issue as with 2Do with several other apps, e.g. these:
Skim
CodeRunner
Typora
though they are listed as linkable, and also with the following ones (to which Hook should currently link via “UI scripting”):
Drafts
BusyCal
Forklift
It also doesn’t work with TexPad and Acrobat Pro 2017 (which are just not listed)
So far I mostly used Hook with Finder, EagleFiler, Mail, Safari, and with those apps it works fine. It also works with Excel, Word, Powerpoint, Preview, Marked 2
While I had granted those permissions (and system preferences confirmed this), often when I did Hook would crash and I had to restart it. This made me think I should try to restart my computer. I have now done so and…everything works as it should!
I’m still unable to use Hook with 2do. After reading these posts, I’ve found that the problem is with the access permissions, because 2do is not listed at all under Security & Privacy > Automation > Hook (neither checked nor unchecked). The issue is just that Hook never asked me for access to 2do, I just reinstalled it just to be sure.
I haven’t had this problem with any other app that’s listed under Linkable Apps. Is there a way to manually grant Hook access to 2do if that dialogue doesn’t appear?
I’m using the Setapp version of 2do and MacOS 11.3.1.
Welcome to the Hook Productivity Forum , @pkus . And thanks for asking about this.
that can happen.
Are you using a version of Hook prior to 3.0 on a M1 Mac? There’s a Rosetta 2 problem with macOS permissions that Hook 3.0 avoids as it is compiled for both M1 and Intel (i.e., does not involve Rosetta 2).
Resetting permissions from the command line (URL mentioned elsewhere here I believe) might fix that kind of problem too.
You could try using 2do in a different macOS account on same Mac to see if it’s that.
I’m running the latest version of Hook (still the trial if that’s relevant) on an Intel, so that shouldn’t be it. Resetting permissions also didn’t solve the problem.
However, this is not a big deal. The reason I wanted to try out 2do was that they supposedly have an Android version, but when I tried to download that on the weekend the link on their website was dead and it’s not on the Play Store. So 2do won’t be a solution for me anyway, and there was no other app where I’ve had that problem.
That brings the list of Task Managers that are compatible with Hook and also cross-platform down to Todoist, but at least that makes it an easy decision .