Sorry for being so thick: This works for me.
*<html><a href="///C|/Users/Richard/Desktop/guess3.png"target="blank"> cousins</a><html>* but what do I do with *file:///C:/Users/Richard/Videos/OPEN%20HOUSE%20R2P1.mp4* or *file:///K:/DCIM/100MEDIA/IMAG0379.jpg* which has the word "file:", another colon and no pipe, etc? Rich On Sunday, August 3, 2014 7:45:15 PM UTC-4, Daniel Baird wrote: > > > If you use the "open file" menu option of your browser, then navigate to > the file you want and open it, you might be able to just copy the path from > the URL bar (and all the //// and | etc will be correct). > > > On 3 August 2014 21:45, <[email protected] <javascript:>> wrote: > >> I am now able to link to files using absolute location/reference/path. >> It appears there may be more than one way, bbut what worked for me was: >> >> >> >> *<html><a href="///C|/Users/Richard/Desktop/guess3.png"target="blank"> >> cousins</a> <html>* >> >> Perhaps it will become second nature, but getting the "/" and the "." and >> the "|" in the correct place was my problem. The png file opened in FF; >> how to get it to open with some other software I can save until later. >> >> Rich >> >> >> On Saturday, August 2, 2014 9:02:12 AM UTC-4, [email protected] wrote: >>> >>> Success at last. >>> >>> Separate window means separate Window as in Microsoft Windows. A >>> browser window is a type of window, but not what I wanted. For example, >>> what I am able to do now is have a TWC link suggest software to open a file >>> (such as xlxs) and it opens in an Excel window. A linked pdf file is >>> opened in a separate tab using browser software/add-in. If I need the full >>> set of Acrobat tools I can download the pdf and operate on it that way. >>> This is good. >>> >>> I did not try Daniel Baird's suggestion - was trying to follow your >>> intial suggestion - >>> >>> *<a href="pathtoyourpdf.pdf" target="blank">Your Link Text</a>*I >>> followed your last example - *<a href="./example.docx" >>> target="blank">link</a> - *after having co-located the Tiddler and the >>> file and that worked. I think I understand now that the path is >>> constructed differently from Windows method - c:\ etc. - so I think that >>> finally connected in my head. But have not been able to make an "absolute" >>> reference work after trying Baird's suggestion. >>> >>> I chose TWC having been scared off by the "beta" designation and >>> believing learning would be easier on a more stable (slower rate of change) >>> software and with more users to help me. I did use TW a little several >>> years ago but only as a home page and a place to store links - before I >>> switched to IGOOGLE (now defunct). >>> >>> I now want to explore local webservers, link with files not in the same >>> directory, and why I should make a jump to TW5. >>> >>> Thank you all for your patience and assistance. >>> >>> >>> On Thursday, July 31, 2014 8:49:22 PM UTC-4, Richard Smith wrote: >>>> >>>> I appreciate all the advice - possibly what I am envisioning is not >>>>> possible and that leads to a 2nd question - let me try the 1st question >>>>> one >>>>> more time - can I link to a file via TWC and have it open in a separate >>>>> window? I don't think this is possible. If I wanted to link to a *.doc >>>>> WORD document, and have the link open the doc in MSWORD, a separate >>>>> window, >>>>> can I do this? >>>>> >>>> >>>> Opening in a "separate window" would usually mean a separate browser >>>> window. This usually doesn't happen in modern browsers because everybody >>>> hated it, but maybe you can turn it back on. If you create a link to a >>>> *.doc file and then click it, it's your browser that decides what to do. >>>> If >>>> it's set to launch 'word' then that's what should happen. >>>> >>>> I think I am being told no. Some files - such as pdf - can be opened >>>>> in an iframe or even a second tab (in FF at least) but the browser needs >>>>> to >>>>> have the capability to process the file type. Is that correct? I think >>>>> I >>>>> can link to other html files and have them open as a tiddler or even in a >>>>> different FF frame. But if the browser cannot process the file type, not >>>>> html or pdf, I cannot link to the file and have it open? >>>>> >>>> >>>> Your browser should know what to do with most file types. If you have >>>> successfully accessed similar documents on other sites, then it does. >>>> >>>> >>>>> >>>>> My 2nd question is in here somewhere. In the current wiki I use (NOT >>>>> TWC) I can link to an excel spreadsheet with a link such as >>>>> http://libraries.xx.com/download? >>>>> fileid=204568254101&entity_id=865987210&sid=101. >>>>> The spreadsheet was previously uploaded to the library and the software >>>>> there apparently gave it this url. Protocol is Hyper Text Transfer >>>>> Protocol and type is COM/DOWNLOAD File. So the second question is >>>>> basically can I create such a library and store files to which I link in >>>>> a >>>>> form so that they can be opened in a window driven by the exe that can >>>>> open >>>>> the file? And can I do this on my local PC? >>>>> >>>> >>>> The files on your PC all have local addresses. You can refer to them >>>> absolutely or relative to the current file, but only on your PC. Did you >>>> try what Daniel Baird suggested? >>>> >>>> If you want to access them from other places they need to be hosted >>>> somewhere. Everything that's hosted has a url. If you want to access the >>>> files on your own machine over http then you will need to run a local >>>> webserver. There is probably one built in to your operating system, or any >>>> number of other ways to do it. >>>> >>>> Try this. Put your tiddlywiki in the same folder as one of your doc >>>> files and write a tiddler that says >>>> >>>> <html> >>>> <a href="./example.docx" target="blank">link</a> >>>> </html> >>>> >>>> (change example.docx to the name of your file) >>>> >>>> Click the link and see what happens. For me, chrome downloads it and >>>> firefox gives me a dialogue offering to open it in a word processor. >>>> >>>> Is there a reason you are using TWC instead of TW5? I have found the >>>> latter to be much nicer to use. >>>> >>>> Regards, >>>> Richard >>>> >>>> >>>> >>>> >>>> >>>>> >>>>> On Thursday, July 31, 2014 3:15:32 AM UTC-4, Jeremy Ruston wrote: >>>>>> >>>>>> On Thu, Jul 31, 2014 at 3:41 AM, Richard Smith < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> If the files have a url it's easy to link to them. When I make a >>>>>>> google-drive or dropbox file public, I get a url like "https://dl. >>>>>>> dropboxusercontent.com/u/83055414/booktemplate.html" >>>>>>> >>>>>>> I can make a TW link to it like this: >>>>>>> >>>>>>> <a href="https://dl.dropboxusercontent.com/u/ >>>>>>>> 83055414/booktemplate.html" target="blank">My Link</a> >>>>>>> >>>>>>> >>>>>> >>>>>> You should also be able to use this syntax: >>>>>> >>>>>> [ext[my link text|https://dl.dropboxusercontent.com/u/ >>>>>> 83055414/booktemplate.html]] >>>>>> >>>>>> Best wishes >>>>>> >>>>>> Jeremy >>>>>> >>>>>> >>>>>> >>>>>>> >>>>>>> If I click the link, the document opens in a new window. If I want >>>>>>> to save it, I right-click the link and choose "save-as". You can also >>>>>>> open >>>>>>> it in a new window from the same dropdown. >>>>>>> >>>>>>> Regards, >>>>>>> Richard >>>>>>> >>>>>>> On Thursday, July 31, 2014 7:12:59 AM UTC+10, [email protected] >>>>>>> wrote: >>>>>>>> >>>>>>>> More input/thoughts - on another WIKI I use (which I am hoping to >>>>>>>> move to TWC) files are located on a server but have a URL. When I >>>>>>>> click on >>>>>>>> the links to these files from within the WIKI, i am given three >>>>>>>> choices - >>>>>>>> open, save, or cancel. The open option opens the file in a separate >>>>>>>> window >>>>>>>> ans uses the appropriate program for the file type/extension. Save >>>>>>>> option >>>>>>>> puts the file in any location to which I have access. Am I asking too >>>>>>>> much >>>>>>>> of TWC to do something similar? The files I wish to store and open >>>>>>>> and >>>>>>>> link to need to be uploaded to the server and are given a URL by the >>>>>>>> software. Should I be looking for a way to store the files that >>>>>>>> assigns a >>>>>>>> URL. >>>>>>>> >>>>>>>> Rich >>>>>>>> >>>>>>>> On Wednesday, July 30, 2014 5:14:00 AM UTC-4, [email protected] >>>>>>>> wrote: >>>>>>>>> >>>>>>>>> What I used was: >>>>>>>>> >>>>>>>>> <a href="c:\users\richard\documents\mytiddly\stlukeconcertseries.pdf" >>>>>>>>> target="blank">Your Link Text</a> >>>>>>>>> >>>>>>>>> This did not open a new window. This opened a new tab. This did >>>>>>>>> not open the file. >>>>>>>>> >>>>>>>>> So I may have another problem with the file name also. I can try >>>>>>>>> Daniel Baird's direction. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Wednesday, July 30, 2014 1:36:39 AM UTC-4, Daniel Baird wrote: >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On 30 July 2014 13:33, Richard Smith <[email protected]> >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> [...] >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> *Firefox doesn't know how to open this address, because one of >>>>>>>>>>>> the following protocols (c) isn't associated with any program or >>>>>>>>>>>> is not >>>>>>>>>>>> allowed in this context. You might need to install other >>>>>>>>>>>> software to >>>>>>>>>>>> open this address.* >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> hmmm... are you using an old version of firefox or on a >>>>>>>>>>> corporate network? Firefox is supposed to be able to open pdf's by >>>>>>>>>>> default >>>>>>>>>>> now. There is some more information here, with some alternative >>>>>>>>>>> solutions. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> the bit about "...one of the following protocols (c) isn't >>>>>>>>>> associated..." makes it sound like you've used a Windows style file >>>>>>>>>> path to >>>>>>>>>> say where the PDF file is, starting with the drive letter, like >>>>>>>>>> C:\whatever. >>>>>>>>>> >>>>>>>>>> In a web browser you can't use paths like that, you need >>>>>>>>>> something more like: >>>>>>>>>> file:///C|/My Documents/ALetter.html >>>>>>>>>> yes that's triple slashes, and a pipe character | instead of a >>>>>>>>>> colon : . >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Cheers >>>>>>>>>> Daniel >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Daniel Baird >>>>>>>>>> objoke: I had a problem and decided to solve it with threading. >>>>>>>>>> Now, have problems. two I >>>>>>>>>> >>>>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "TiddlyWiki" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to [email protected]. >>>>>>> To post to this group, send email to [email protected]. >>>>>>> Visit this group at http://groups.google.com/group/tiddlywiki. >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Jeremy Ruston >>>>>> mailto:[email protected] >>>>>> >>>>> -- >> You received this message because you are subscribed to the Google Groups >> "TiddlyWiki" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at http://groups.google.com/group/tiddlywiki. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Daniel Baird > objoke: I had a problem and decided to solve it with threading. Now, > have problems. two I > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

