This version is out of date, covering development from v9.5.0 to v9.7.3. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

Tinderbox v9 Icon

Web Links

Web links are text links that open in a web browser if followed from within Tinderbox. As well as web pages, a URL link can act as a 'mailto:' call or link to local files (using the 'file:///' protocol instead of 'http://'). Basically, a valid URI.

In all cases Finder will dictate whether a browser or some other application, such as a mail client is used to open the URL. This can also be used to use app pseudo-protocols such as are provided by apps like DEVONThink to allow linking to items stored within the app.

To create a web link, select the desired anchor text and then use Note menu ▸ Make Web Link…, or use the [Cmd]+[Opt]+[Ctrl]+L shortcut (note these options are only available if there is a current $Text selection). The result is to display the Create Link dialog with the URL input box displayed. The Disclosure triangle on the dialog exposes a few extra inputs only pertinent to web links: Target, Title and class. If any of the latter three inputs are populated, during HTML export they are exported as extra non-default HTML link attributes.

The same extra data can also be viewed/edited in the Browse Links dialog.

A web link cannot be created at note level (i.e. as can a basic link) but setting the $URL attribute is akin to doing this. If more than one such 'link' is needed, the user should add extra URL-type user attributes.

The Substitutions menu, smart links can be used to make RTF web links in $Text but whilst these can be used to open web links (or other protocols as above) these links are not recognised by Tinderbox as the they are only embedded in the RTF text.

Note that export code ^outboundWebLinks^ only lists actual Tinderbox web links and not URL-type attributes or smart links.