: K-Meleon Forum
Use this forum to talk about a feature you're missing.
[quote=JujuLand] [quote=JamesD]The problem seems to be that you need to be in the KM 1.7 folder to start KM. If I just exec it from a macro in 1.6, I get an error about cannot find XPCOM.[/quote] The problem was already known (I posted a message [url=http://kmeleon.sourceforge.net/forum/read.php?3,60195,115865#msg-115865]there[/url] is a long time, and desga2 gives a beginning of answer a few post later) under Windows 7 with a shortcut on the desktop without indicating an execution path, or under Linux. I solved the problem under Linux by this shell: [color=#CC00FF][i]#!/bin/bash cd "/opt/Program Files/K-Meleon170a" env WINEPREFIX="/home/alain/.wine" wine ./k-meleon.exe $1[/i][/color] I suppose that a cmd file like this could have the same effects: [color=#CC00FF][i]@echo off cd "Z:\opt\Program Files\K-Meleon170a" k-meleon.exe %1 %2[/i][/color] You have just then to call the cmd file instead of the exe to make it work: [color=#CC00FF][i]exec("Z:\\opt\\Program Files\\K-Meleon170a\\k-meleon.cmd -new ".$URL);[/i][/color] The only problem under Linux I found was just that launching K-Meleon with this way simulate the -new option, what I don't want. But it's what you need here, and I think that -new should not be necessary, and %1 enough in the cmd file. Just test it... A+[/quote]
K-Meleon forum is powered by