Jump to content


Photo

Using WebTags to link to local files


  • Please log in to reply
No replies to this topic

#1 TomH

TomH

    Advanced Member

  • Members
  • PipPipPip
  • 5464 posts

Posted 21 December 2012 - 03:15 PM

Had a brainwave - could a WebTag link to a local file? I just tried putting a URL to a local file as a WebTag and it worked! Here's an example to give you a guide to the format:
file:///C:\Users\Tom\Documents\Genealogy Societies on the Web.pdf
It opened in Adobe Reader as I hoped.

I was surprised that I did not have to change the backslash to forward nor escape the space character with %20. file:/// URLs using the forward slash and escape sequence for the space character do work.

Now this may not work for all file types. I tried a HTML and instead of opening a browser, it opened the editor I had last associated with that file type in Windows. I think a workaround that might assure that HTML and the like are opened by the web browser from WebTags, regardless of the file association setting in Windows, would be to interpose a HTTP server on the local computer and use the http:// URL to the file.

I'm using Windows 7.

For the advanced Windows 7 user, there might even be a way to use the Libraries in the path, instead of the drive:directory path based on a quick read of http://www.interwork...ows-7-libraries . But that's getting a bit beyond me... (@kbens0n?)

Edited by TomH, 21 December 2012 - 03:16 PM.

Tom user of RM7230 FTM2017 Ancestry.ca FamilySearch.org FindMyPast.com
SQLite_Tools_For_Roots_Magic_in_PR_Celti wiki, exploiting the database in special ways >>> Rmtrix_tiny.png app, a growing bundle of RootsMagic utilities.