General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Stumble upon addon - and also: Executing a macro
Posted by: fbaudoux.ir
Date: May 18, 2008 08:12AM

There is an addon to Firefox that should be built for K-meleon : STUMBLE UPON
Any person planning to tackle that work ?
Otherwise I 'll have to keep Firefox on my PC or implement it myself.
But I am just a newbee with KMeleon: I even do not know how to execute a macro - by the way can someone tell me how ?

Options: ReplyQuote
Re: Stumble upon addon - and also: Executing a macro
Posted by: JujuLand
Date: May 18, 2008 08:54AM

A macro kmm file must install itself in the menus (or contextual menus). They are then executed by using menus.

Look at the way used for example in K-Meleon Extensions Download KMESxxx_yyy.zip instead of Setup exe files, you'll then have sources without installing it.

Don't look directly to some scripts like Greasemeleon or Noscript which are harder for beginners. Don't look for skins, there is no macros inside.

For macros instructions and use, look on this site.

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 1 time(s). Last edit at 05/18/2008 08:55AM by JujuLand.

Options: ReplyQuote
Re: Stumble upon addon - and also: Executing a macro
Posted by: guenter
Date: May 18, 2008 09:00AM

1) ? I do not know if STUMBLE UPON can be adaped.
2) K-Meleon macros with the extension *.kmm are placed into the K-Meleon folder ./macros. They have a part that makes them integrate into the normal K-Meleon menus.

example for the JavaScript Console (a XUL extension have a look / AFAIK the bold writing makes the menue entry ): # K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)

# ---------- Console² Extension (Error Console) --------------------------------------------------------------------
#
# Dependencies : main.kmm (OpenURL)
# Resources : -
# Preferences : -
#
# ------------------------------------------------------------------------------------------------------------------

Console2{
macroinfo=_("Open the enhanced error console");
$OpenURL="chrome://console2/content/console2.xul"; &OpenURL_InNewWindow;
}

# ----- PRIVATE

_Console2_BuildMenu{
# tools menu
setmenu(Misc,macro,"Error &Console",Console2,"Error &Console");
setmenu(Misc,macro,"",moz_JSConsole);
}
$OnInit=$OnInit."_Console2_BuildMenu;";

#
------------------------------------------------------------------------------------------------------------------
$macroModules=$macroModules."Console2;";

Options: ReplyQuote
Re: Stumble upon addon - and also: Executing a macro
Posted by: desga2
Date: May 18, 2008 10:58AM

@ fbaudoux.ir:
You can found a lot of examples (simples and difficults) in the MacroLibrary.

About StumbleUpon extension, we talk about it some time ago in this thread.

K-Meleon in Spanish



Edited 2 time(s). Last edit at 05/18/2008 11:22AM by desga2.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.