Linking to DEVONthink and other apps with a URL scheme

113 views
Skip to first unread message

Jack Baty

unread,
Feb 11, 2019, 2:32:33 PM2/11/19
to TiddlyWiki
I keep a lot of files in DEVONthink and I'd like to store links to them in TiddlyWiki. TW doesn't recognize the URL scheme (x-devonthink-item://), so the links don't work and just try creating a new tiddler. I found this old post with what looked like a solution, but when adding the macro an error is displayed saying something about it only working in TiddlyWiki Classic. I'm using TW5.

Is there a reliable method of linking to apps on my Mac using their URL schemes? (Bear, OmniFocus, DEVONthink, etc.)

Thanks!

Jack

TonyM

unread,
Feb 11, 2019, 6:37:45 PM2/11/19
to TiddlyWiki
Jack,

Can you give more detail on where these links are and are not being honoured, such as what browser and or server eg Node, Bob, TiddlyDesktop etc...

As I understand it such links are not honoured in my browser so I do not see why tiddlywiki would honour them as well. I am not a devonthink user but hope with a little more info the community can help you.

Regards
Tony

Jack Baty

unread,
Feb 11, 2019, 7:47:56 PM2/11/19
to TiddlyWiki
Good questions. If I create a link in an HTML document with something like `x-devonthink-item://276FA79C-08F1-4E3B-9767-0E0E427F6498` as the URL (href), both Safari and Firefox (Mac) ask if it's ok to open the link in DEVONthink, and then will do so if I say "Allow" or "Open Link" respectively.

If I create a link using the same URL in a TiddlyWiki document, clicking the link just opens the "Missing tiddler" tiddler. I've tried in Firefox, Safari, TiddlyDesktop and Node versions.

My hunch is that TW intercepts links so it can handle them however it needs to, and doesn't recognize the "x-devonthink-item" as a protocol.

TonyM

unread,
Feb 11, 2019, 11:23:07 PM2/11/19
to TiddlyWiki
If I put your link in FireFox or Chrome address bars it does not work for me, let alone if in TiddlyWiki.

I believe your browsers have being taught to consider x-devonthink-item:// a new protocol to communicate on. I do not get "Allow" or "Open Link". Perhaps you also need to be logged in?

So unfortunately I cant personally help, if I cant reproduce a working link (I am also on FireFox and Widows 10)

Regards
Tony

S. S.

unread,
Feb 12, 2019, 1:26:39 AM2/12/19
to TiddlyWiki
Jack,

This appears to work for me:

[ext[Devon Link|x-devonthink-item://276FA79C-08F1-4E3B-9767-0E0E427F6498]]

Hope that helps.

Jack Baty

unread,
Feb 12, 2019, 6:49:39 AM2/12/19
to TiddlyWiki
I didn't know about 'ext'. Works great, thanks!

S. S.

unread,
Feb 12, 2019, 8:10:47 AM2/12/19
to TiddlyWiki
I actually never used [ext[ ..... ]] myself, just remembered reading about it in the Documentation Tiddler : Linking in WikiText under the heading External Links
Now I am aware of when it is useful!
Glad your difficulty is solved.
Reply all
Reply to author
Forward
0 new messages