> the path and this command does not work: > [[my file|file://filename.avi]] > but with absolute path is works fine [[my file|file:///c:\my > documents\filedir\filename.avi]]
As I previously explained: > > And, because the link doesn't start with an /absolute/path/to/ > > folder/..., it is automatically handled by the browser as *relative to > > the current directory* (i.e, the one containing the TW document). > > Thus, you can also write something like: > > [[old version|archives/filename.jpg]] > > to link to a file in a *relative sub-directory*. > > > Also note that the link doesn't specify either http:// or file:// > > protocol. In fact, in most browsers, relative references only work > > when you omit the protocol from the URL. In this case, it's an > > advantage: it means that the same external PrettyLink can be applied > > locally (as a filesystem reference), or remotely (as a server-side > > URL), without needing any special TW code... the browser's normal > > handling does it automatically. > Is it a way to set a variable with the path where the files are located? > and to use this variable when naming the file to be openned? http://www.TiddlyTools.com/#ImagePathPlugin works for [img[...]], but not for general external links. 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]. Visit this group at http://groups.google.com/group/tiddlywiki?hl=en. For more options, visit https://groups.google.com/groups/opt_out.

