> I've just started using TW and love it. I also use Devonthink and have it > on my Mac and iPad. Devonthink allows you to copy a link to any file in > it's database. However, I can't seem to get it working from TW. > > Devonthink links are in this format: > > x-devonthink-item://0EF37776-E601-4FE0-80A6-709AB4BFCEC6
The TWCore uses regular expressions to parse the tiddler content syntax. Included in that is a pattern that defines what the TWCore sees as "external links". Here's the standard definition: config.textPrimitives.urlPattern="(?:file|http|https|mailto|ftp|irc| news|data):[^\\s'\"]+(?:/|\\b)"; To customize this pattern for your purposes, you would add "x- devonthink-item" to the list of protocols (file, http, https, etc.), like this: config.textPrimitives.urlPattern="(?:file|http|https|mailto|ftp|irc| news|data|x-devonthink-item):[^\\s'\"]+(?:/|\\b)"; To apply this change to your documents, just place the above code (all on one line [1]) in a new tiddler, e.g. [[DevonThinkLinkPlugin]], and tag it with "systemConfig". Save-and-reload, and the TWCore will then recognize the 'x-devonthink-item:' prefix as an external link. QED. [1] note: GoogleGroups adds word-wrapping newlines to posts. This often messes up any code that is posted. Make sure you remove all newlines from the above code snippets. enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"... http://www.TiddlyTools.com/#Donations Professional TiddlyWiki Consulting Services... Analysis, Design, and Custom Solutions: http://www.TiddlyTools.com/#Contact -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

