The problem, as you can show in message, is that $LINKURL in kmm file code must be $LinkURL, because 1.5 is case sensitive (1.1.X version aren't).
Try with this code to FlashGet.kmm macro file:
# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)
# ---------- FlashGet (An external download manager for K-Meleon) ---------------------------------
#
# Needed files : FlashGet.exe
# Dependencies :
# Resources : -
# Preferences :
# -------------------------------------------------------------------------------------------------
# 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 :
# $_FlashGet_Path="\"C:\\Program Files\\FlashGet\\FlashGet.exe\" %1"
# You must restart K-Meleon to take the modifications
# You have a shortcut to modify this value:
# SHIFT+ALT+F
$_FlashGet_Path="";
# ---------- General -----------------------------------------------------------
$_FlashGet_CommandLine="";
FlashGet_Path{
$ext="kmm"; &getExtensionHandler; exec(sub("%1","macros\\FlashGet.kmm",$cmdline));
}
_FlashGet_CommandLine{
# try to get FlashGet's command line from the Windows Registry
$__data=readreg("HKLM","Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\FlashGet\\DisplayIcon");
$__data !=""? $__data=$__data." %1":0;
$_FlashGet_CommandLine=$__data;
$_FlashGet_CommandLine==""?$_FlashGet_CommandLine=$_FlashGet_Path:0;
}
$OnStartup=$OnStartup."_FlashGet_CommandLine;";
# ----- MACROS
FlashGet{
menugrayed=($_FlashGet_CommandLine=="");
exec(sub("%1",$LinkURL,$_FlashGet_CommandLine));
}
# ----- PRIVATE
_DownloadWith_FlashGet_BuildMenu{
getpref(BOOL,"extensions.downloadwith.loaded")?0:&__DownloadWith_FlashGet_Default;
setpref(BOOL,"extensions.downloadwith.loaded",true);
setmenu("Download &With",macro,"&FlashGet",FlashGet);
setaccel("SHIFT ALT G","macros(FlashGet_Path)");
# to bypass FlashGet download, and force K-Meleon download manager to be used ( a trick
# to simulate Firefox behaviour)
setaccel("ALT LButton",ID_SAVE_LINK_AS);
}
__DownloadWith_FlashGet_Default{
setmenu(LinkSave,inline,OpenWith);
setmenu(OpenWith,popup,"Download &With");
}
_DownloadWith_FlashGet_KillPref{
delpref("extensions.downloadwith.loaded");
}
$OnQuit=$OnQuit."_DownloadWith_FlashGet_KillPref;";
$OnInit=$OnInit."_DownloadWith_FlashGet_BuildMenu;";
# -------------------------------------------------------------------------------------------------
$macroModules=$macroModules."FlashGet;";
K-Meleon in Spanish
Edited 1 time(s). Last edit at 09/15/2008 06:18PM by desga2.