Hi Lyall,
I'm ready to publish my attempts to use the LaunchApplication plugin
in the Journal of Irreproducible Results :)
My conditions used:
Windows XP installation at C:
TiddlyWiki in the root of partition H: (ultimately meant to be at a
DVD, therefore I need relative paths)
IrfanView and Photos at H:\Foto
I want to start IrfanView in thumbnail mode in the correct folder,
normally done by i_view32.exe XYZ.jpg /thumbs. In that case the
thumbnail viewer starts in the folder where IrfanView and the XYZ.jpg
resides and opens XYZ.jpg in IrfanView itself.
To see if my problems had something to do with the paths of IrfanView
and/or the photos, I tried the following 4 cases A, B, C and D (only
the last 2 parameters for LaunchApplication are given).
I used TW 2.4.3 with only the LaunchApplication and Coretweaks
plugin.
I used Firefox 3.05 & 3.06 (FF), Firefox portable 3.05 (FF portable)
and Internet Explorer 7 (IE).
The - mixed - results are summarized below.
A) "Foto/i_view32.exe" "\Foto\XYZ.jpg /thumbs"
FF portable works
FF sometimes works. If it does not work there is no error from
LaunchApplication, only IrfanView looks in C:\Program Files\Mozilla
Firefox instead of in H:\Foto
IE: IrfanView message File not found; no message from
LaunchApplication
B) "Foto/i_view32.exe" "H:\Foto\XYZ.jpg /thumbs"
FF portable works
FF works
IE: IrfanView message File not found; no message from
LaunchApplication
C) "H:/Foto/i_view32.exe" "\Foto\XYZ.jpg /thumbs"
FF portable works
FF sometimes works. If it does not work there is no error from
LaunchApplication, only IrfanView looks in C:\Program Files\Mozilla
Firefox instead of in H:\Foto
IE: LaunchApplication cannot locate/execute file 'H:/H:/Foto/
i_view32.exe'
D) "H:/Foto/i_view32.exe" "H:\Foto\XYZ.jpg /thumbs"
FF portable works
FF works
IE: LaunchApplication cannot locate/execute file 'H:/H:/Foto/
i_view32.exe'
Lateron I tried situation A) with different PCs.
In that case I used a DVD with TW (with more plugins than the test
above), IrfanView and photos on it and got comparable results.
In a few instances when FF did not work, it looked in the folder C:
\Program Files\RSS Bandit (in most cases it looked in C:\Program Files
\Mozilla Firefox when it did not work).
Sometimes I start FF from my RSS reader. I tried to reproduce such a
situation (starting FF from RSS Bandit) and then situation A) but
could not reproduce it. It just sometimes happens.
At a certain moment I thought about putting FF portable on the DVD and
start it from there, but there were 2 problems:
1) You cannot use FF portable from DVD (it will copy itself to hard
disk)
2) FF portable 3.06 behaved different from 3.05
When I upgraded FF portable from 3.05 to 3.06 (http://
portableapps.com/) even FF portable looked in the wrong folder! But FF
portable 3.05 still works correct.
In both cases the message of LaunchApplication is the same:
LaunchApplication executing 'H:\\Foto\i_view32.exe' \Foto\XYZ.jpg /
thumbs
Any idea to get it working correct?
Thanks,
Ton
> > > > > I'am struggling with theLaunchApplicationplugin v1.4 (TW v2.4.3).
>
> > > > > To be more specific, I want to start IrfanView with a photo displayed
> > > > > (IrfanView and photo in subfolder Foto).
> > > > > I succeeded in starting the executable itself (IrfanView), see 1)
>
> > > > > 1) <<LaunchApplication"IrfanView" "" "Foto/i_view32.exe">>
>
> > > > > This works with FireFox 3, Internet Explorer and the portable version
> > > > > of Firefox 3.
>
> > > > > I do have problems when passing arguments. I tried 2), 3) and 4)
>
> > > > > 2) <<LaunchApplication"Foto Kikker" "" "Foto/i_view32.exe" "Foto/
> > > > > 1957_Kikker_Raadhuisstraat.jpg">>
> > > > > 3) <<LaunchApplication"Foto Kikker" "" "Foto/i_view32.exe" "/Foto/
> > > > > 1957_Kikker_Raadhuisstraat.jpg">>
> > > > > 4) <<LaunchApplication"Foto Kikker" "" "/Foto/i_view32.exe" "\Foto
> > > > > \1957_Kikker_Raadhuisstraat.jpg">>
>
> > > > > 2) and 3) do not work at all; only 4) works with Internet Explorer and
> > > > > the portable version of Firefox 3, but not with standard FireFox 3.
>
> > > > > I tried Eric Shulman's CoreTweaks plugin for the FF issues, but that
> > > > > did not help either.
>
> > > > > To circumvent the arguments inLaunchApplicationI tried a few things:
> > > > > 1) I made a batch file that started IrfanView with a photo displayed.
> > > > > The batch file as such works, but calling the batch file with
> > > > >LaunchApplicationdoes not work.