kmext files revision-oget removed
Posted by: disrupted
Date: August 11, 2010 09:43PM

due to an error in needlessly enabling js in a few macros.. all files and macros have been checked and installed all together on a test version kmeleon (more than 400 macros). maybe 10 or so enabled js, some had the usual missing semicolon or parenthesis etc they were all fixed and uploaded and i can confirm that installing all extensions in kmeleon will neither induce errors,bugs or security risks.. except for one extension 'oGet' which had major bugs conflicting with main macro and removing menus and even disabling the error console. i suspect several menu problems happening to charlie caktus could be to the oget macro

for now 0get has been removed from kmext pages.. i can't fix it so i hope someone can fix it soon
http://ftp.jaist.ac.jp/pub/sourceforge/k/project/km/kmext/oGet.7z

special thanks to siria for bringing up this matter

Re: kmext files revision-oget removed
Posted by: JamesD
Date: August 11, 2010 11:59PM

WOW! Very good work.

Re: kmext files revision-oget removed
Posted by: desga2
Date: August 12, 2010 07:33PM

Revision of Oget macro code, but I don't know if this fixed some of the "unknown" problems:
# Top of kmm file -------------------------------------------------

# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)

# ---------- Oget (Download with external download manager) -------
#
# Needed files : flashgot.exe, oget.exe
# flashgot.exe: https://addons.mozilla.org/en-US/firefox/addon/220
# oget.exe: http://lexi.ucoz.ru/oget_only.zip
# -----------------------------------------------------------------

# Example :
# $_Oget_CommandLine="\"C:\\Program Files\\K-Meleon\\Oget\\Oget.exe\" %1";
# -----------------------------------------------------------------

$_tool_path=getfolder(RootFolder)."\\Tools";
$_Oget_CommandLine="\"".$_tool_path."\\oget\\oGet.exe\" %1";

# ---------- General ----------------------------------------------

Oget_Path{
$ext="kmm"; &getExtensionHandler; exec(sub("%1","macros\\Download_manager.kmm",$cmdline));
}

# ----- MACROS -----------------------------------------------------

Oget{
menugrayed=($_Oget_CommandLine=="");
exec(sub("%1",$LinkURL ? $LinkURL." ".$URL." ".$SelectedText : $ImageURL,$_Oget_CommandLine));
}
OgetSelection{
menugrayed=($_Oget_CommandLine=="");
id(ID_EDIT_COPY);
exec(sub("%1","CLIPBOARD ".$URL." DOWNLOAD ALL",$_Oget_CommandLine));
}
SelectDM{
menugrayed=($_Oget_CommandLine=="");
exec(sub("%1","",$_Oget_CommandLine));
}

# ----- PRIVATE ----------------------------------------------------

_Oget_BuildMenu{
setmenu(Misc,macro,"Download managers",SelectDM,ID_SELECT_DM);
# context menus
setmenu(LinkSave,macro,"Download link with &Oget",Oget,ID_SAVE_LINK_AS);
setmenu(ImageSave,macro,"Download image with &Oget",Oget,ID_SAVE_IMAGE_AS);
setmenu(SelectedText,macro,"Download selection with &Oget",OgetSelection,ID_SELECT_URL);
# accel
setaccel("SHIFT ALT W","macros(Oget_Path)");
}

#
$OnInit=$OnInit."_Oget_BuildMenu;";
# ------------------------------------------------------------------
$macroModules=$macroModules."Oget;";

# End of kmm file --------------------------------------------------

K-Meleon in Spanish



Edited 4 time(s). Last edit at 08/13/2010 05:25PM by desga2.

Re: kmext files revision-oget removed
Posted by: disrupted
Date: August 12, 2010 10:00PM

thank you desga, this fixed the menu conflicts. oget is back on network extension

Re: kmext files revision-oget removed
Posted by: foobarly
Date: April 30, 2011 07:13PM

Sorry for digging up this old thread, but I think it's justified...

oGet development seems to have stopped according to the comments at the last official page (http://my.opera.com/Lex1/blog/oget-2-4). I just noticed that the oGet executable include with the K-Meleon extension is the 2.5.7 version. The latest file in the Opera extension (available at http://lexi.ucoz.ru/oget2.zip) is from version 2.5.18 and they seem to be basically interchangeable.

Shouldn't this be verified and an update made available, so the previous work done doesn't go to waste?

Thanks to @ll.smiling smiley

--- sig ---




Edited 1 time(s). Last edit at 04/30/2011 07:13PM by foobarly.

K-Meleon forum is powered by Phorum.