Some explanations:
The path isn't initialized, it can be done by using 'SHIFT ALT W' shortkey
You have now a right-click menu entry to download a link with Wackget
Copy and paste this, and save it under macros folder with the name wackget.kmm:
# Top of kmm file -------------------------------------------------
# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)
# ---------- Wackget (An external download manager for K-Meleon) ----------------------------------------------------------
#
# Needed files : wackget.exe (in Tools folder for example)
# 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 :
# $_Wackget_Path="\"C:\\Program Files\\Wackget\\wackget.exe\" %1"
# You must restart K-Meleon to take the modifications
# You have a shortcut to modify this value:
# SHIFT+ALT+W
$_Wackget_Path="";
$_Wackget_CommandLine="";
# ---------- General -----------------------------------------------------------
Wackget_Path{
$ext="kmm"; &getExtensionHandler; exec(sub("%1","macros\\Wackget.kmm",$cmdline));
}
_Wackget_CommandLine{
$_Wackget_CommandLine=$_Wackget_Path;
}
# ----- MACROS
Wackget{
menugrayed=($_Wackget_CommandLine=="");
exec(sub("%1",$LINKURL,$_Wackget_CommandLine));
}
# ----- PRIVATE
_Wackget_BuildMenu{
# context menus
setmenu(LinkSave,macro,"Download with &Wackget",Wackget,ID_SAVE_LINK_AS);
# accel
setaccel("SHIFT ALT W","macros(Wackget_Path)");
}
#
$OnInit=$OnInit."_Wackget_CommandLine;"."_Wackget_BuildMenu;";
# ------------------------------------------------------------------------------------------------------------------
$macroModules=$macroModules."Wackget;";
# End of kmm file ---------------------------------------------------------------
For other language than english:
Copy and paste and save it under your locales\xx-yy folder with the name wackget.kml (modify the translation with your own language (here in french):
# LANGUAGE DEFINITION FILE
#--------------------------------------------------------
# Added by Wackget Extension (don't edit this comment)
#--------------------------------------------------------
Download with &Wackget=Télécharger avec &Wackget
#--------------------------------------------------------
A+
Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0
Web:
http://jujuland.pagesperso-orange.fr/
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 05/27/2007 02:15PM by JujuLand.