Extensions :  K-Meleon Web Browser Forum
All about K-Meleon extensions. 
Addons Manager Macro for K-Meleon 74/75
Posted by: George_Hall
Date: May 21, 2015 04:30PM

Here is an Addons Manager Macro for those who do not want to type about:addons in the Location Bar.

AddonsManager.kmm

# ---------- pending macro for ported extension--------------------------------------


AddonsManager{
$OpenURL="about:addons";
$ExecMacros="OpenURL_InNewWindow"; &ExecMacros_Frames;
}

AddonsManager_BuildMenu{
setmenu("&Tools",macro,"Addons Manager", AddonsManager,-1);
}

$OnInit=$OnInit."AddonsManager_BuildMenu;";
# ---------------------------------------------------------------------------
$macroModules=$macroModules."AddonsManager";

Just copy and saved into the macros folder.

Or download the below and copy the macros folder into thre K-Meleon 74/75 Root Folder.



Edited 3 time(s). Last edit at 12/16/2017 12:02AM by George_Hall.

Attachments: AddonsManager.zip (622 bytes)  
Options: ReplyQuote
Re: Addon Manager Macro for K-Meleon 74/75
Posted by: siria
Date: May 21, 2015 06:34PM

just simpler:

AddonsManager{
opennew("about:addons");
}

Options: ReplyQuote
Re: Addon Manager Macro for K-Meleon 74/75
Posted by: George_Hall
Date: May 29, 2015 11:20AM

Quote
siria
just simpler:

AddonsManager{
opennew("about:addons");
}

That depends on your point of view. I used that basic form from another macro so could quickly create macros for extensions that did not have macros

It is simplier to using existing a macro to create macros for extensions and functions that just open things. Than creating a whole macro from scratch.



Edited 1 time(s). Last edit at 05/29/2015 11:21AM by George_Hall.

Options: ReplyQuote
Re: Addon Manager Macro for K-Meleon 74/75
Posted by: guenter
Date: May 29, 2015 01:52PM

Quote
George_Hall

It is simplier to using existing a macro to create macros for extensions and functions that just open things. Than creating a whole macro from scratch.

My favorite way to do it too. Give it an new name, select a string to replace then copy & paste the new stuff there. No chance to make a error not even a typo. And all is started with already tested code. grinning smiley



Edited 1 time(s). Last edit at 05/29/2015 01:56PM by guenter.

Options: ReplyQuote
Re: Addon Manager Macro for K-Meleon 74/75
Posted by: siria
Date: May 29, 2015 09:23PM

LOL, what do you guys think James and I and John are doing, start from scratch every single time??? grinning smiley

No, I wasn't talking about creating a whole new macro from scratch at all. Only using the simple form for the 2 confusing lines, for simply opening a link.
Because your macros will be copied again by yet other people, perpetuing the complicated ways, as already the case with many menus. But there are often more ways to Rome than just one with macrolanguage.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.