Here is the content of my version that I have written there is a long time. It allows to automatically keep the location of Firefox,
If the user wants to bypass it, he can change and uncomment a variable in the source, which can be opened in the system notepad by using a key (Ctrl-Alt-F or Shift-Alt-F, if the first one is already used, to be set manually in this case)
The path declaration and the explanations:
# In case of manual install, registry keys can't be found and menu is grayed
# To Bypass it, just fill the content of this variable the example value adapted
# to your config
# Example :
# $_Firefox_Path="\"C:\\Program Files\\Mozilla Firefox\\firefox.exe\" %1"
# You must restart K-Meleon to take the modifications
# You have two shortcuts to modify this value:
# CTRL+ALT+F when The command line is empty
# SHIFT+ALT+F else
$_Firefox_Path="C:\\Program Files\\Firefox_7.0b5_English_Portable\\FirefoxPortable.exe %1";
# The value you ought to use
The function which allows the modification:
# ----- PRIVATE
# try to get Firefox's command line from the Windows Registry
$_Firefox_CommandLine==""?setaccel("CTRL ALT F","macros(Firefox_Path)") : setaccel("SHIFT ALT F","macros(Firefox_Path)");
I haven't verified that the actual registry key is the same that the one I used, but it seems not to be the part which is wrong for you,
I Think you have missed the variable %1 in the string which, in fact is more then a path ...
I think it ought to work.
Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0
Mail : alain [dot] aupeix [at] wanadoo [dot] fr
Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc
Edited 2 time(s). Last edit at 01/07/2012 03:19PM by JujuLand.