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

On Feb 2, 9:24 am, Lyall <[email protected]> wrote:
> Wow, sounds like it's not the plugin's fault.
> Particularly if it works sometimes and not others.
> I hope to get into this later this week, I have just returned from an
> overseas holiday and have lots of photos to file.
> ...Lyall
>
> On Feb 1, 11:04 pm, TonG <[email protected]> wrote:
>
> > ===================================================
> > Hi Lyall,
>
> > I'm working with Windows XP Prof SP3, Firefox 3.05 and TiddlyWiki
> > 2.4.3.
> > Up till now described situation #4 always worked with Internet
> > Explorer (v7) and portable Firefox v3.05 (downloaded 
> > fromhttp://portableapps.com/).
>
> > I tried to define the conditions when standard FF does not work, but I
> > can't get grip on it.
> > At a certain moment it looked like it did not work after rebooting,
> > but after another reboot it did work correctly.
> > If standard FF does not work, sometimes I can get it working by first
> > opening my TW in Internet Explorer or in portable Firefox. After doing
> > that (and closing the browser), sometimes it then works in standard
> > Firefox, sometimes it does not work.
>
> > I tried 2 other Windows XP PCs with the same - mixed/inconsistent -
> > results for standard Firefox. These 2 PCs also worked correctly (for
> > situation #4) with Internet Explorer (v7) and portable Firefox v3.05.
>
> > Thanks
>
> > Ton
>
> > On Feb 1, 4:04 am, Lyall <[email protected]> wrote:
>
> > > I will have a look in the next few days. I have only just updated to
> > > FF3 on my Gentoo Linux.
> > > Thanks for raising the issue.
>
> > > ...Lyall
>
> > > On Jan 31, 7:37 pm, TonG <[email protected]> wrote:
>
> > > > The strange thing is: sometimes 4) works with standard FF 3, sometimes
> > > > it does not work.
>
> > > > Ton
>
> > > > On Jan 31, 10:16 am, TonG <[email protected]> wrote:
>
> > > > > Hi all,
>
> > > > > 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.
> > > > > 2) Also a compiled AutoHotkey script (an exe file) works alone but
> > > > > does not work when called fromLaunchApplication.
>
> > > > > Any suggestions to get it working for standard FF 3 ?
>
> > > > > Thanks for the help.
>
> > > > > Ton
--~--~---------~--~----~------------~-------~--~----~
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]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to