General
: K-Meleon Forum
General discussion about K-Meleon.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=JamesD] Revised version for Twin. Line 25 is changed. Note: Like all macros which call the operating system, KM17n is locked in to a specific platform. KM17n needs a modern version of windows which has the cmd.exe program. [b]KM17n.kmm[/b] [code] # K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage2) # ---------- KM17n.kmm ------------------------------------------------------------------ # # Dependencies : main.kmm (Go), sendto.kmm (menus) # Resources : - K-Meleon 1.7 # Preferences : - # Author and date JamesD 2012-11-12 # Version : 3.1 # --------------------------------------------------------------------------------------------- # Note - This version assumes that your KM 1.7 exists in a folder named "K-Meleon 1.7" and # that folder exists as a subfolder of the root KM folder. # Line 25 has a relative path to 1.7 and addition of "start" in that line will close # will close the command window after starting 1.7 and passing the URL. # --------------------------------------------------------------------------------------------- KM17n_OpenPage{ macroinfo=_("Open page in K-Meleon 1.7"); $_KM17n_Open=$URL; &_KM17n_Open; } KM17n_OpenLink{ macroinfo=_("Open link in K-Meleon 1.7"); $_KM17n_Open=$LinkURL; &_KM17n_Open; } _KM17n_Open{ exec ("CMD /c cd .\\K-Meleon-1.7 && start k-meleon.exe -new " .$_KM17n_Open); } _KM17n_BuildMenu { index($macroModules,";SendTo;")>-1?&_KM17n_BuildMenu_SendTo:&_KM17n_BuildMenu_Default; } _KM17n_BuildMenu_Default { $__w="Open In K-Meleon 1.7"; setmenu(DocumentOpenExternal,macro,$__w,KM17n_OpenPage); setmenu(LinkOpenExternal,macro,$__w,KM17n_OpenLink); } _KM17n_BuildMenu_SendTo { $__w="K-Meleon 1.7"; setmenu($_SendTo_Page,macro,$__w,KM17n_OpenPage); setmenu($_SendTo_Link,macro,$__w,KM17n_OpenLink); } $OnInit=$OnInit."_KM17n_BuildMenu;"; # ------------------------------------------------------------------------------------------------------------------ $macroModules=$macroModules."KM17n;"; [/code][/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development