General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
How to integrate flashget?
Posted by: kartal
Date: September 12, 2008 07:07PM

Hi
I want to integrate flashget to KM. However I am not a programmer and macro language is not something I can grap quickly. There is one macro that seems suitable for the idea. Because of the way it is done is I cannot really figure out how to change to flashget exe.

Flashget works beautifully with FF but no direct support for KM.

Here is the macro
http://kmeleon.sourceforge.net/wiki/DEP

Flashget
http://www.filehippo.com/download_flashget/



Edited 1 time(s). Last edit at 09/12/2008 07:12PM by kartal.

Options: ReplyQuote
Re: How to integrate flashget?
Posted by: Rapido
Date: September 12, 2008 09:56PM

Check this page for help: http://pagesperso-orange.fr/jujuland46/JujuLand/KMES/KMES-Download.html#down_extensions
Here is some extensions for k-meleon.

Yours: Rapido

Options: ReplyQuote
Re: How to integrate flashget?
Posted by: Rapido
Date: September 12, 2008 11:13PM

You can also go to homepage and download the plugin needed. http://www.flashget.com/en/browser.htm
Click on support and read about browser integration.
http://www.flashget.com/index_en.htm

Yours: Rapido

Options: ReplyQuote
Re: How to integrate flashget?
Posted by: kartal
Date: September 13, 2008 12:42AM

Rapido thankx for good links! The only thing is that I do not knwo what to do with the files inside the zip from pagesperso-orange.fr. There is no read me or installation explanation. There is a .nsi file in the zip for example, where do I copy that one?

Options: ReplyQuote
Re: How to integrate flashget?
Posted by: desga2
Date: September 13, 2008 09:16AM

@ kartal:

You downloaded sources, you must download the setup exe file to install it.

K-Meleon in Spanish



Edited 1 time(s). Last edit at 09/13/2008 09:17AM by desga2.

Options: ReplyQuote
Re: How to integrate flashget?
Posted by: Rapido
Date: September 13, 2008 09:18AM

There are two downloads at the extensionpage. Download the bottom one there and close the browser and install. And you should get a flashget menu. But in order to get flashget to work with/without the extension i recomend that you should download the opera plugin at this page:
http://www.flashget.com/en/browser.htm and install this in k-meleon\plugins and run k-meleon and it should be ok.

Yours: Rapido

Options: ReplyQuote
Re: How to integrate flashget?
Posted by: Rapido
Date: September 13, 2008 09:23AM

Take the advice from desga2 it's the only thing you need.

Yours: Rapido

Options: ReplyQuote
Re: How to integrate flashget?
Posted by: kartal
Date: September 13, 2008 07:19PM

Thanks, it works. Althou right click menu does not perform right, it gives me an error. But clicking on a download link forwards the download to flashget.

thanks again!

Options: ReplyQuote
Re: How to integrate flashget?
Posted by: desga2
Date: September 13, 2008 09:37PM

@ kartal:
What error?
It's possible that macro code needs an update to right click menu works fine in 1.5 version.

K-Meleon in Spanish

Options: ReplyQuote
Re: How to integrate flashget?
Posted by: kartal
Date: September 15, 2008 03:50PM
Options: ReplyQuote
Re: How to integrate flashget?
Posted by: Rapido
Date: September 15, 2008 05:29PM

I have that error with Orbit. I checked this thread: http://kmeleonbrowser.org/forum/read.php?1,81845,81845#msg-81845 and changed the macro and voila the error message where there. So what is wrong?

Yours: Rapido

Options: ReplyQuote
Re: How to integrate flashget?
Posted by: desga2
Date: September 15, 2008 06:16PM

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.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.