General :  K-Meleon Forum
General discussion about K-Meleon. 
Send Link To Macro
Posted by: clutterless
Date: July 17, 2014 06:23AM

I'm sure this is very old news, but when I was searching for the FlashGet
plugin installer, every link I found was dead. Several Google searches
listed pages at this forum and many other download sites. Finally, I found
this long list of FTPs. All the links at filewatcher are good.

http://www.filewatcher.com/m/npfg11.exe.247026-0.html

I've got FlashGet working with K-Meleon when I select a download link,
but I'm wondering if there is a Send Link To macro for FlashGet? The only
item in the Context Menu Send Link To is IE. It would be very helpful to
add FlashGet to the Send Link To menu.

Options: ReplyQuote
Re: Send Link To Macro
Posted by: JamesD
Date: July 17, 2014 07:18AM

This is just a model. I have not used flashget myself. With the model you are in a macro and have the link url.

You wrote that you had flashget working. How do you get the link there now? How do you run flashget?

If you need to know how to create a kmm file and where to put the file, just ask here.

sendfgmodel.kmm

#  K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage2)
#
# ---------- sendfgmodel.kmm
# ---------- code testing 
#
# Dependencies        : main.kmm
# Resources           : -  
# Preferences         : -
# Version             : -  		
# --------------------------------------------------------------------------------

_sendfgmodel_RunCode {
$_sendfgmodel = $LinkURL ;
alert("something with \n".$_sendfgmodel."\n at flashget", "Do", EXCLAIM);
}

_sendfgmodel_BuildMenu {
	setmenu($_SendTo_Link,macro,"FlashGet",_sendfgmodel_RunCode);
}

## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
$OnInit=$OnInit."_sendfgmodel_BuildMenu;";
$macroModules=$macroModules."sendfgmodel;";


Options: ReplyQuote
Re: Send Link To Macro
Posted by: clutterless
Date: July 17, 2014 11:06PM

Hello JamesD. Thanks for your reply.

During my search for a K-Meleon FlashGet plugin, I was not surprised to find
lengthy discussions about creating plugins for K-Meleon. There was much
disagreement about using plugins not specifically created for K-Meleon.

The installer package npfg11.exe works perfectly. Set the pathname to the
K-Meleon Plugins folder. You can download the same files without the installer
here:

http://kmext.sourceforge.net/extensions/flashget.7z

Install the plugin with K-Meleon not running. After the install run K-Meleon
and check to see if the plugin is listed:

Help > About Plugins

Run FlashGet. Open Tools > Options > Monitor and select the Default Download
Manager
button.

Any download link you select will open FlashGet instead of the default K-Meleon
download manager. You have the option to disable FlashGet browser integration.

What the plugin does not do is add FlashGet to the Context Menu.

This URL explains clearly how to add a K-Meleon macro:

http://kmeleon.sourceforge.net/wiki/MacroLibrary

I've created many different kinds of scripts, but never a kmm macro file.
I've looked at several of the kmm files installed with K-Meleon. If I had
the time I'm sure I could learn to do it myself. I was hoping someone at
this forum had already created a FlashGet macro for the Context Menu.

Options: ReplyQuote
Re: Send Link To Macro
Posted by: JamesD
Date: July 17, 2014 11:26PM

My model kmm file shows how to add FlashGet to the "Send link to" context menu. I have now downloaded the FlashGet 7-Zip file. I will look and see what is provided there. I will get a post back here later today, I hope.

Options: ReplyQuote
Re: Send Link To Macro
Posted by: JamesD
Date: July 18, 2014 12:09AM

FlashGet.exe is not included in the 7-Zip file and I don't know how to use the site with mirrors.

Options: ReplyQuote
Re: Send Link To Macro
Posted by: JohnHell
Date: July 18, 2014 12:51AM

As if just only setmenu wouldn't be complicated enough (I can't deal with it at all myself) you are complicating thing more with plugins.


Just a create a macro to the path of FlashGet:

LinkinFlashGet{
exec("\"[here the full path to flashget with double bars between folders]\" ".$LinkURL);
}


And add it to a menu (this may be wrong as I prefer to edit menus.cfg manually):

FlashGetBuildMenu{
setmenu($_SendTo_Link, macro, "FlashGet", LinkinFlashGet);
}
$OnInit=$OnInit."FlashGetBuildMenu";

-----------------------------
If I'm required and I don't reply in a long time


Options: ReplyQuote
Re: Send Link To Macro
Posted by: clutterless
Date: July 18, 2014 05:12AM

A plugin is not a program (you know, app).

My favorite download manager is FlashGet. There are thousands of free
download managers. If you want FlashGet here is the publisher:

http://www.flashget.com/index_en.html

The 7z archive or the installer package (npfg11.exe) contain the files
needed for a K-Meleon plugin. Plugins are like a set of directions pointing
to a program.

If you run the installer you might be confused. Don't be. The files in the
7z archive or npff11.exe are identical. The installer says its for Opera.
The same files are used for K-Meleon. That why it's listed here:

http://kmext.sourceforge.net/ext6.htm

Thankfully, no one has to be an expert on plugin creation to add these files
to a browser.

JohnHell, I'm a little confused by your macro example. Honestly, I'm looking
for a complete kmm file or a macro I can copy and paste into a text editor.
Similar to the macros listed here:

http://kmeleon.sourceforge.net/wiki/MacroLibrary

I'm a partner in a business. Over many years I've created a long list of
scripts that automate repetative processes. Without these scripts we would
go out of business!

The only macro in the Context Menu "Send Link To" is IE. I opened ie.kmm in
a text editor, hoping I could use it as a template for a FlashGet macro. Since
I have never created a macro for K-Meleon, it could be a very long and tedious
process before I get it right.

I need a complete macro with all the correct syntax. I just don't have the
time right now to learn the K-Meleon macro language.

Options: ReplyQuote
Re: Send Link To Macro
Posted by: JohnHell
Date: July 18, 2014 05:31AM

Actually, what I posted is the content of a kmm file, if you whish to create a new one.

I highlight it in green this time.

Just change the text in bold with your FlashGet path, for example
c:\\program files\\flashget\\flashget.exe. As is, only replacing the bold text with the path.


Include this in a kmm file. Place it in the root\macros folder or in the Profile\yourprofile\macros folder

LinkinFlashGet{
exec("\"[here the full path to flashget with double bars between folders]\" ".$LinkURL);
}

FlashGetBuildMenu{
setmenu($_SendTo_Link, macro, "FlashGet", LinkinFlashGet);
}
$OnInit=$OnInit."FlashGetBuildMenu";


EDIT:

Ok, I dig.

I found that it won't work because the latest versions of FlashGet don't have a command line anymore.

So, if you have the latest installed won't work and it would be useless to add a menu entry to "send the link to". FlashGet will do nothing.

Go to archive.org and choose another version if you want "send to" to work:
http://wayback.archive.org/web/*/http://www.flashget.com/en/download.htm

-----------------------------
If I'm required and I don't reply in a long time




Edited 1 time(s). Last edit at 07/18/2014 06:01AM by JohnHell.

Options: ReplyQuote
Re: Send Link To Macro
Posted by: rodocop
Date: July 18, 2014 07:54AM

clutterless,
why not to use oGet extension?
It works without any plugin and with different download managers including your personal choice whatever it is.


Try K-Meleon-1.6db+NS by dugbug // KM-16-S2014 by Fred // 1.6beta2.6 by JamesD

K-Meleon Twin+ Download for modern browsers =//= Download for old ones =//= Discuss it!!!

New KM74.0 for test and feedback! Get it there!


Options: ReplyQuote


K-Meleon forum is powered by Phorum.