Development
: K-Meleon Forum
K-Meleon development related discussions.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=JamesD] @ ndebord This is one way of having a group of personal macro items in one file and have it show up in the TOOLS menu. For each personal item you would just add one line of type "setmenu" and perhaps one of type "setaccel" together with the macro module that you wish to execute. The advantage of this is that the one file "MyPersonal.kmm" is all you have to keep up. You can copy it to the user personal macro folder of any profile. You can use, or not, separator lines to set off items by type or use. I try not to change any of the default macro and cfg files because they are replaced when I load a new version. The exception to this is toolbars.cfg. [code] # K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage) # # ---------- MyPersonal.kmm # ---------- K-Meleon Macro Language Personal Macros --------------- # # Dependencies : main.kmm # Resources : - # Preferences : - # Version : 0.5 2008-08-01 # -------------------------------------------------------------------------------- _AIM{ exec("C:\\AIM\\AIM.EXE"); } _Verizon{ $OpenURL="https://www22.verizon.com/ForyourHome/Registration/Reg/Login.aspx"; &OpenURL_InNew; #&OpenURL_InBg; #&OpenURL_InNewWindow; } _MyPersonal_ModMenu{ $_MyPersonal_Popm = "My Personal"; setmenu("&Tools",popup,$_MyPersonal_Popm,Misc); setmenu($_MyPersonal_Popm,macro,"AIM",_AIM); setmenu($_MyPersonal_Popm,macro,"Verizon",_Verizon); setmenu($_MyPersonal_Popm,separator,1); &_MyPersonal_Setaccel; } _MyPersonal_Setaccel{ setaccel("ALT A","macros(_AIM)"); } $OnInit=$OnInit."_MyPersonal_ModMenu;"; $macroModules=$macroModules."MyPersonal;"; [/code][/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development