Below I included a post about linking to a local file, but is there
any way to specify opening a file within a specific application?
For example if you have a local file:
C:\temp\myfile.htm
double-clicking it opens in the file in Firefox (which is set as my
default browser).
In Windows, you can right-click and make a shortcut "Shortcut to
myfile.htm" and edit the shortcut target to something like:
"C:\Documents and Settings\MadSciJr\Local Settings\Application Data
\Google\Chrome\Application\chrome.exe" "C:\Temp\myfile.htm"
and now the shortcut opens the file in Chrome,
or
C:\WINDOWS\notepad.exe "C:\Temp\myfile.htm"
opens it in Notepad.
Does anyone know of any way to make a link in a tiddler not only to
open a local file, but to specify which program it should open in
similar to above?
Thanks
From: Anthony Muscio <
anthony...@gmail.com>
Date: Mon, 21 Jun 2010 15:39:02 +1000
Local: Mon, Jun 21 2010 1:39 am
Subject: Re: [tw] Re: link to local files and folders
Forward | Print | Individual message | Show original | Report this
message | Find messages by this author
There are a few ways to do this.
Here is a quick dump of one
Use
http://www.Remotely-Helpful.com/TiddlyWiki/LaunchApplication.html<
http://www.remotely-helpful.com/TiddlyWiki/LaunchApplication.html>
in windows usuing cmd /c "filepath/filename.ext" will launch the
associated
application according to the extension. eg .ppt
C:\WINDOWS\system32\cmd.exe is the program
Now use alias plugin
http://www.TiddlyTools.com/#AliasPlugin<
http://www.tiddlytools.com/#AliasPlugin>
And define this as
<<alias OpenFile {{"|\<\<LaunchApplicationButton 'Open file' 'Open
using
Launch application' 'C:\\WINDOWS\\system32\\cmd.exe' '/c %0'\>\>|\n"}}
>>
<<alias OpenFile {{"|\<\<LaunchApplicationButton 'Open file %0' 'Open
using
Launch application' 'C:\\WINDOWS\\system32\\cmd.exe' '/c %0'\>\>|\n"}}
>>
<<OpenFile "D:\Data\TestOpen.doc">>
<<OpenFile "D:\Data\TestPPT.pptx">>
Only I am not sure how to open files with spaces in the name.
another way is to create an executable that does this for you (eg;
From a
Batch to exe generator)
TonyM
If you have not found an easy way to do it with TiddlyWiki, you have
missed
something.
www.tiddlywiki.com
On Fri, Jun 18, 2010 at 01:44, skye riquelme
<
riquel...@gmail.com>wrote:
- Hide quoted text -
- Show quoted text -
> Hi All
> I would love to see a result here. As I understand it the problem is
> not the local link...its Powerpoint. I have tried various ways to have
> a powerpoint open up inside a TW,,,links, iframes.....seems the
> dificulty is that, how powerpoint is processed depends on the browser
> settings.......so its not much use when offering TWs for study.....as
> I cant control the browser settings of students.
> At this stage I personally dont use powerpoint - I use a TW as the
> presentation system.......works better than powerpoint for my
> application.
> My other solution is for when I want to use a powerpoint from
> others...I just convert it too PDF...and them view it through an
> iframe.....
> And I would love to see other possibility
> Thanks
> Skye
> On 17 Jun, 12:24, spartyhacker <
wenhao.stud...@gmail.com> wrote:
> > Hi all:
> > I want to input link like:
> > file:///c:\test.ppt
> > and when I click the link, powerpoint could directly pops up and open
> > the original file.
> > Is there any way to do this?
> > I know people talked about it in previous posts, and the "file:///"
> > type link is what I found. But that actually only "download" the file
> > and open a copy of it, instead of the original one.
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To post to this group, send email to
tiddl...@googlegroups.com.
> To unsubscribe from this group, send email to
>
tiddlywiki+...@googlegroups.com<
tiddlywiki%2Bunsu...@googlegroups.com>
> .
> For more options, visit this group at
>
http://groups.google.com/group/tiddlywiki?hl=en.